Created
July 29, 2010 11:00
-
-
Save 1tgr/497844 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
> 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