Last active
July 24, 2018 18:57
-
-
Save kmizu/a31b1e9fc8477900a15a691ad5019144 to your computer and use it in GitHub Desktop.
型推論に関する最近の話題への雑感 ref: https://qiita.com/kmizu/items/2ace816340e8553bd278
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun fold_left f [] z = z | |
| fold_left f (x::xs) z = fold_left f xs (f z x); | |
val fold_left = fn : ('a -> 'b -> 'a) -> 'b list -> 'a -> 'a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = expression; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment