Skip to content

Instantly share code, notes, and snippets.

@1tgr
Created July 29, 2010 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1tgr/497844 to your computer and use it in GitHub Desktop.
Save 1tgr/497844 to your computer and use it in GitHub Desktop.
> let func (a : seq<'a seq>) = 5.;;
val func : seq<seq<'a>> -> float
> let a = [[4.]];;
val a : float list list = [[4.0]]
> func a;;
func a;;
-----^
stdin(23,6): error FS0001: The type 'float list list' is not compatible with the type 'seq<seq<'a>>'
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment