2012-05-01ãã1ã¶æéã®è¨äºä¸è¦§
æ¨æ¥ã®æ¥è¨ ã®ç¶ãã id:koji8y ããããããã©ãã¯ããã¯ã§ ãããï¼æ¨æ¥ã®ã¹ã¿ã¼ã Alloy ã®æ¼ç¿ä¸ã«åãã表ç¾ãããã£ããã¨ï¼ sig A { r: B -> C }ã§ï¼å A ã®å r ã one to one ã®é¢ä¿ (functional ã㤠injective ãªé¢ä¿) ã¨ãªããã¨*1ã表ç¾ããã«â¦
ãã¦ãã¹ã¿ã¼ãAlloyä¸ãé ãããã¯ãã«ã«ãªè³ªåã®ãã¡1ã¤ã«ãå½æ¥ãã¾ãçãããã¾ããã§ããï¼ããã¾ãã⦠orzï¼ãã¡ããã¨èãç´ããã®ã§(^^; ããã«æ¸ãã¦ããã¾ããï¼thx to @masahiro_sakaiããï¼ è³ªå 以ä¸ã®ãããªã·ã°ããã£å®£è¨ããã£ãã¨ããã siâ¦
cf. http://atnd.org/events/27160ãã¸ã§ã¼ã«é©å½ãªæºåã ãã§ï¼ãããã¼ãªè³æã§ãã³ãããã¾ããï¼ãããããç¿ãããæ £ãããã¨å¹ãã¦Alloyè¨èªã®ã¬ã¯ãã£ã¼ã»ã¨ãã©ãªãã«æ¼ç¿ãã£ã¦ãããã¨ããç¡è¬ãªè©¦ã¿ã«ãé¢ããããï¼Alloyåå¿è ã®æ¹ã ãå«ãï¼å ¨â¦