Skip to content

Instantly share code, notes, and snippets.

@bleis-tift
Created April 22, 2012 16:01
Show Gist options
  • Save bleis-tift/2464898 to your computer and use it in GitHub Desktop.
Save bleis-tift/2464898 to your computer and use it in GitHub Desktop.
SML#でCのlocaltimeをつかおうと思ったら出たエラー
val f = _import "localtime": int array -> time;の場合
(interactive):31.51-31.54 Error:
(type inference 003) not an interoperable type: {day: int,
dst: int,
hour: int,
min: int,
mon: int,
sec: int,
wday: int,
yday: int,
year: int}
val f = _import "localtime": int array -> int * int * int * int * int * int * int * int * int;の場合
(interactive):31.51-31.85 Error:
(type inference 002) not an interoperable type: {
1 : int,
2 : int,
3 : int,
4 : int,
5 : int,
6 : int,
7 : int,
8 : int,
9 : int
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment