GHCI says we all drink left-handed

Andreas Abel abela at chalmers.se
Sat Apr 1 11:08:59 UTC 2017


GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
Prelude> data Handed = Handed
Prelude> let drink beer = beer
Prelude> all drink (Left Handed)
True

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

andreas.abel at gu.se
http://www.cse.chalmers.se/~abela/


More information about the Libraries mailing list