Skip to content

Commit d8049f3

Browse files
author
Jannick Johnsen
committed
Added undefined
1 parent 1191997 commit d8049f3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/FSharpx.Extras/Prelude.fs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ module Prelude =
6262
/// first character used in the symbol.
6363
let (^) = (<|)
6464

65+
// Bottom value
66+
let undefined<'T> : 'T = raise (NotImplementedException("result was implemented as undefined"))
67+
6568
type Boolean with
6669
static member parse x =
6770
match bool.TryParse(x) with

0 commit comments

Comments
 (0)