2014-02-01ãã1ã¶æéã®è¨äºä¸è¦§
s id id idã«åãä»ããªãï¼ ghci> let s f g h = f h $ g h ghci> :t s id id id <interactive>:1:5: Occurs check: cannot construct the infinite type: a = a -> b Probable cause: `id' is applied to too few arguments In the second argument of `s', namely `id'</interactive>â¦
ãTypes and Programming Languagesã(é称TAPL)ã®è¨³æ¬ï¼ãåã·ã¹ãã å ¥é âããã°ã©ãã³ã°è¨èªã¨åã®çè«âããèªãã§ããï¼èªæ¸æ¥è¨ãã¤ããã¨ããããããªããã¨æãç«ã£ããé¢åèããªã£ãï¼èªã¿å§ãã¯2/4é ï¼10ç« ã¾ã§èªãã ï¼ åºæã«ç« ã®ä¾åé¢ä¿ãè¼ã£â¦
c-wrapperï¼c-wrapper ã¯æ´æ°ããã¦ããªããã© http://hg.koguro.net/c-wrapper ã§æ´æ°ããã¦ããï¼ãã¦ã³ãã¼ãâã¿ã°ãããã¦ã³ãã¼ãã§ããï¼ ./DIST gen ./configure CC=/usr/bin/gcc make DYLD_INSERT_LIBRARIES=/usr/lib/libffi.dylib make checkæ®éã«â¦