Last active
June 9, 2018 21:48
-
-
Save gmmorris/61d06488933fdf6599d7250fa1ec7fbb to your computer and use it in GitHub Desktop.
Reason cheat sheet
This file contains 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 (|>) v f = f v | |
let (<|) f v = f v | |
/* | |
Possible characters: | |
! $ % & * + - . / : < = > ? @ ^ | ~ | |
But they can't all be used freely. | |
Read: http://blog.shaynefletcher.org/2016/09/custom-operators-in-ocaml.html | |
Examples: | |
|! | |
|$ | |
|% | |
|& | |
|* | |
|+ | |
|- | |
|. | |
|/ | |
|: | |
|< | |
|= | |
|> | |
|? | |
|@ | |
|^ | |
|| | |
|~ | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment