Created
April 26, 2015 14:03
-
-
Save SteveGilham/4b84d12c9db342eb0a3b to your computer and use it in GitHub Desktop.
List monad operations
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
let ReturnList x = [x] | |
let FailList = [] | |
let (>>=*) m f = List.concat (List.map f m);; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment