Created
May 23, 2019 23:03
-
-
Save kleidemos/ab6ea0ca7423db71f4ce718b66fbc35a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<Sealed>] | |
type Impossible private () = | |
static let wtf () = failwith "WTF?!" | |
do wtf () | |
static member handle (_ : Impossible) = wtf () | |
static member id (impossible : Impossible) = impossible | |
[<AutoOpen>] | |
module Auto = | |
let (|Impossible|) (_ : Impossible) = () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment