Skip to content

Instantly share code, notes, and snippets.

@ravicious
Created August 25, 2016 17:23
Show Gist options
  • Save ravicious/d3486e959a28dd1b1aa3fc43b3614540 to your computer and use it in GitHub Desktop.
Save ravicious/d3486e959a28dd1b1aa3fc43b3614540 to your computer and use it in GitHub Desktop.
$ ghci
GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help
Prelude> :t foldl
foldl :: Foldable t => (b -> a -> b) -> b -> t a -> b
$ elm repl
---- elm-repl 0.17.1 -----------------------------------------------------------
:help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------
> List.foldl
<function> : (a -> b -> b) -> b -> List a -> b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment