I hereby claim:
- I am vakili on github.
- I am vakili (https://keybase.io/vakili) on keybase.
- I have a public key ASCKqXguDL96pD_mk5KVbSUBVQakQUrKpjTQDlCf1QNQ3Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
module Life where | |
-- a cell is identified by a pair of coordinates | |
type Cell = (Int, Int) | |
-- a cell is either live or dead | |
data State = Live | Dead deriving Eq | |
-- a grid assigns a state to each cell | |
type Grid = Cell -> State |