a one dimensional cellular automata, using comonads
選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
|
- module Comonad where
-
- -------------------
- -- comonad class --
- -------------------
-
- class Functor w => Comonad w
- where
- (=>>) :: w a -> (w a -> b) -> w b
- extract :: w a -> a
- duplicate :: w a -> w (w a)
- x =>> f = fmap f (duplicate x)
|