Mercurial > hg > Papers > 2015 > atton-thesis
view src/exec_list_in_haskell.txt @ 18:086fc8bb6ea9
Add description for category/functor in program
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 08 Feb 2015 21:19:55 +0900 |
parents | |
children |
line wrap: on
line source
*Main> let x = 100 :: Int *Main> let even = even :: Int -> Bool *Main> :type x x :: Int *Main> :type even even :: Int -> Bool *Main> :type (even x) (even x) :: Bool *Main> let list = Cons x Nil *Main> :type list list :: List Int *Main> :type fmap even list fmap even list :: List Bool