Mercurial > hg > Papers > 2015 > atton-thesis
view src/exec_list_in_haskell.txt @ 42:4cc65012412f
Add proofs of functor-laws on delta
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 13 Feb 2015 17:13:23 +0900 |
parents | 086fc8bb6ea9 |
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