ããªãã ãHaskellã®forallã«ã¤ãã¦ç解ãããã¨ãæ¸ãã¦ãã(ã©ã³ã¯Nå¤ç¸éå®)ãã®è¨äºãæ¸ããã¨ãã«Hindley-Milneråæ¨è«ã¢ã«ã´ãªãºã *1ã調æ»ããã«ããã£ã¦ããã¡ãã«ãããScala by Exampleãã®16ç« ã«ããScalaã§ã®å®è£ ä¾ãGroovyã«æ¸ããªãããã®ã§æãã¦ããã¾ãã 以ä¸ã®ãããªåæ¤æ»ã»æ¨è«ãã§ãã¾ããå®è¡ã¯ã§ãã¾ããã def listLenTest = LetRec('len', Lam('xs', App(App(App(Var('if'), App(Var('isEmpty'), Var('xs'))), Var('zero')), App(Var('succ'), App(Var('len'), App(Var('tail'), Var('xs')))) )), App(Var('len'), App( App(Var('cons'
{{#tags}}- {{label}}
{{/tags}}