home
/
code
/
tiger.ml.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Begin translation module
[tiger.ml.git]
/
tiger_opt.ml
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
type 'a t = 'a option
2
3
let map t f =
4
match t with
5
| None -> None
6
| Some x -> Some (f x)
7
8
let get t ~default =
9
match t with
10
| None -> default
11
| Some x -> x
This page took
0.024812 seconds
and
5
git commands to generate.