File: result-as-newtype.ml

package info (click to toggle)
ocaml-result 1.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116 kB
  • sloc: ml: 20; makefile: 14
file content (2 lines) | stat: -rw-r--r-- 80 bytes parent folder | download | duplicates (2)
1
2
type ('a, 'b) result = Ok of 'a | Error of 'b
type ('a, 'b) t = ('a, 'b) result