Преглед изворни кода

exercise 2.6: anonymous function for beta

George C. Privon пре 2 година
родитељ
комит
54808edba0
1 измењених фајлова са 12 додато и 0 уклоњено
  1. 12 0
      02-basicfunctions/exercises/ex2.6

+ 12 - 0
02-basicfunctions/exercises/ex2.6

@@ -0,0 +1,12 @@
+Anonymous function definition is:
+
+```
+\x -> 1 / sqrt(1 - x^2)
+```
+
+Sample application to 0.8 is:
+
+```
+(\x -> 1 / sqrt(1 - x^2)) 0.8
+1.666666666666667
+```