2005-09-01ãã1ã¶æéã®è¨äºä¸è¦§
Sequence.csãgmcsã³ã³ãã¤ã«åºæ¥ãã®ã§ãSystem.QueryãNemerleãã使ã£ã¦ã¿ãã using System.Console; using System.Query.Sequence; // def src = array [1, 2, 3, 4, 5, 6, 7, 8, 9]; // error! def src = [1, 2, 3, 4, 5, 6, 7, 8, 9]; def os = Orderâ¦
System.Query.dllã®ã½ã¼ã¹ãC#2.0ã§ã³ã³ãã¤ã«ã§ããããã«å¤æãã¦gmcsã§ã³ã³ãã¤ã«ããããéããããã®ã¾ãã¾ã¢ããåºæ¥ãªãã®ã§æå°éã®åç¾ã³ã¼ããç¨æãã¦ã¿ã¾ããã using System.Collections.Generic; public interface I<T, K> {} public delegate K Func<T, K></t,></t,>â¦
C#3.0ã®Lambdaãã·ã³ãã«ã§è¯ãæããªã®ã§ãNemerleã§ãçä¼¼åºæ¥ãªããã¨è²ã 試ãããç§ã®ç¥èããæ¯ãç«ãããããã¾ãã¯ãåãã£ã¦ãªããã§ãããã(^^;ã§ãæ ¼éã®è·¡ã using Nemerle.Compiler; // å¼æ°ï¼ã¤ macro @fx (parm : parameter, body) syntax ("â¦
LINQ Previewããã¦ã³ãã¼ããã¦å®é¨åããã ãæ¥æ¬èªçVS2005β2ã«ã¯å¯¾å¿ãã¦ããªããããªã®ã§ãã³ãã³ãã©ã¤ã³ããã¡ã¾ã¡ã¾ã³ã³ãã¤ã«ãããã¨ã«ã using System; using System.Query; class Program { public static void Main () { var src = new int [] â¦
ã»The LINQ Project C#3.0ã¨LINQãçºè¡¨ãããåå°ã§çãä¸ãã£ã¦ãããã¼ã§ãããä»äºã§åµã£ã¦ãã¦å ¨ãæ å ±ãéãããã¦ã¾ãããæããã®ã§Nemerleã§å¯¾æã§ãããã¼ããããªããã©è¦æ§è¦çä¼¼ã(^^; using Nemerle.Utility; [Record] class Person { [Accessoâ¦
ã»Nemerle 0.9.0 is out Nemerle 0.9ããªãªã¼ã¹ããã¾ããã0.32ããä¸æ°ã«0.9ã¸ããããã1.0ããªãªã¼ã¹ããªã
ã²ãã£ã¨ãããåæ¨è«ããµãã¼ãããè¨èªã使ã£ã¦ããªãã¨ããã³ã¨ããªãããç¥ããªãã®ã§ãä»æ´ãªãããç´¹ä»ã次ã®ãããªãå¤æ°x,yã足ãé¢æ°ãå®ç¾©ããã³ã³ãã¤ã«ãã¾ãã def add (x, y) { x + y } ããã¨ãå½ç¶ã®ãã¨ãã app.n:2:5:2:10: error: typingâ¦
Nemerleã«ã¯åæ¨è«ããããããã¸ã§ããªãã¯åãæ示çã«æå®ããå¿ è¦ãããã¾ããããå®ã¯æ示çã«æå®ããæ¹æ³ãããã¾ããã§ãããæè¿ãã£ã¨å¯è½ã«ãªã£ãã®ã§ãããææ³çã«ã¡ãã£ã¨ã¯ã»ãããã¾ãã using Nemerle.IO; class A [X] { public mutable a â¦
æ´ã«è²ã 使ã£ã¦ã¿ãã def func (x : int, y : string, z : double) : void { System.Console.WriteLine ($"$x,$y,$z"); } // å¼æ°ã¨ãªãã¿ãã« def t1 = (1, "two", 3.0); def t2 = (2, 4.0); def t3 = (3, "four"); func (t1); func (_, "three", _) (t2);â¦
æ¥æ¬èªã§ã¯é¨åé©ç¨ã¨å¼ã¶ããã§ãããé¢æ°åè¨èªããã£ã¦ãªãã¨é¦´æã¿ããªãã§ããã誤解ãæããã«åãã ããè¨ãã¨ãNåã®å¼æ°ãåãé¢æ°ã«M(M def add (x : int, y : int) { x + y; } def add7 = add (_, 7); /* // ããã¨åã def add7 = fun (x) { addâ¦
å¼æ°ã ãã§ãªãããªãã¸ã§ã¯ãã«ãé©ç¨åºæ¥ãããã¾ãã class X { msg = null; public this (msg : string) { this.msg = msg; } public Say (key : string) : void { System.Console.WriteLine ($"$msg, $key"); } } def x1 = X ("Hello"); def x2 = X ("Gâ¦
ã»http://nemerle.org/Code_Completion æè¿ã®ç®çæ©è½ãã½ã¼ã¹ã³ã¼ããé£ã¹ã¦TypeTreeãä½æãã¾ããèªåã§Parserã¨ãããããå¿ è¦ãç¡ããªãã®ã§ããã¼ã«éçºè ã«ã¯æå ±ãããä¸è¨ãªã³ã¯ãèªãã¨é°å²æ°ãæ´ããã¨æãã¾ãããã ãç¾å¨éçºä¸ã®çºããµã³ãã«â¦
ã»http://www.amazon.co.jp/exec/obidos/ASIN/B0007YT8XY/249-4314563-8109935 ã¤ããã¯ãªãã¯ãã¦ãã¾ãã¾ããã(^^;
ä»æãåè² ãæ°åãå ¥ãã¦è¡ããã°ãã§ããããã©ã¡ã·ã¦ã ãã¨ãã§ä¿ºãæ¢ãããã¨ã¯ã§ããï¼ãã¨ããé¨ãã ãç½ãç®ã§è¦ãããã ãããªããã¨ããããã¦ãã®è·å ´ããå ãã¿ã ãããããã¼ãã»ã»ã»
ã»Nemerle Forums Webãã©ã¼ã©ã ãåºæ¥ã模æ§ãã¨ããã§ãããæ°æ¥ãNemerleã®Makeãéããã.NET 2.0 August CTPã£ã¦çµæ§å¤ãã£ãã®ãããï¼