This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/tests/04-Hobix_to_Fopix/04-curry.hobix

11 lines
144 B
Text
Raw Normal View History

2023-12-11 11:49:02 +01:00
val curry =
\(f) => \(x) => \(y) => f (x, y)
val add = \(x, y) => x + y
val g = curry (add)
val h = g (1)
val main = print_int (h (41))