annotate paper/src/Maybe.agda @ 116:ed6719c301fc

Update slide
author atton <atton@cr.ie.u-ryukyu.ac.jp>
date Mon, 13 Feb 2017 17:31:45 +0900
parents c0693ad89f04
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
65
c0693ad89f04 Add single linked stack
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 data Maybe {a} (A : Set a) : Set a where
c0693ad89f04 Add single linked stack
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 just : (x : A) -> Maybe A
c0693ad89f04 Add single linked stack
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 nothing : Maybe A