2009-04-23から1日間の記事一覧

今日のOCaml RSS: ocamljs と ocaml-lastfm

ocamljs http://code.google.com/p/ocamljs/ Ocamljs compiles OCaml to Javascript. It uses the standard OCaml front-end, so the full language is supported (the object system is partially supported, should be fixed soon).Included are several l…

改造: type class っぽいのもおk

module Num : sig type 'a t val (+) : $:'a t -> 'a -> 'a -> 'a val (-) : $:'a t -> 'a -> 'a -> 'a val int : int t val float : float t end = struct class type ['a] _t = object method plus : 'a -> 'a -> 'a method minus : 'a -> 'a -> 'a end ty…

改造: こんなことが出来るようになった

module Add : sig type 'a t val (+) : $:('a t) -> 'a -> 'a -> 'a val int : int t val float : float t val string : string t val int32 : int32 t end = struct type 'a t = 'a -> 'a -> 'a let (+) $:d = d let int = Pervasives.(+) let float = (+.)…

アポ無し面接

は摘み出されます。海外の友達から聞きました。セキュリティには面接のアポがあると嘘言って入ってきたんだって。そんなキモい嘘吐き野郎誰が採用すんねん。まー、そういう事です。