Opinions are like assholes, every one has got one.
This one is mine.
Punctuation is a bikeshed. Put your semicolons, whitespace, and commas where you like them.
| (* Nick Heiner <[email protected]> *) | |
| (* Adapted from https://gist.github.com/1347308 *) | |
| (* The func_ prefix is to avoid confusion with OCaml's standard Queue. *) | |
| (* from F# *) | |
| let (|>) g f = f g | |
| type 'a func_queue = Func_Queue of 'a list * 'a list | |
| let empty = Func_Queue ([], []) |