Created
October 8, 2011 01:38
-
-
Save masaedw/1271726 to your computer and use it in GitHub Desktop.
FSC: エラー FS0192: 内部エラー: dest_fun_typ: not a function type でコンパイラが落ちる
This file contains hidden or 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
| let main() = | |
| let (@@) = id | |
| [1;2;3;4;5] | |
| |> Seq.map @@ fun x -> x * x | |
| |> ignore | |
| ["a";"b";"c";"d"] | |
| |> Seq.map @@ fun x -> x + x | |
| |> Seq.iter @@ printf "%s" |
This file contains hidden or 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
| let (@@) = id | |
| let main() = | |
| [1;2;3;4;5] | |
| |> Seq.map @@ fun x -> x * x | |
| |> ignore | |
| ["a";"b";"c";"d"] | |
| |> Seq.map @@ fun x -> x + x | |
| |> Seq.iter @@ printf "%s" |
This file contains hidden or 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
| let main() = | |
| let (@@) : ('a -> 'b) -> 'a -> 'b = id | |
| [1;2;3;4;5] | |
| |> Seq.map @@ fun x -> x * x | |
| |> ignore | |
| ["a";"b";"c";"d"] | |
| |> Seq.map @@ fun x -> x + x | |
| |> Seq.iter @@ printf "%s" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment