A series is a data structure much like a sequence, with similar kinds of operations. The difference is that in many situations, operations on series may be composed functionally and yet execute iteratively, without the need to construct intermediate series values explicitly. In this manner, series provide both the clarity of a functional programming style and the efficiency of an iterative program
ãµã¼ãã¹çµäºã®ãç¥ãã ãã¤ãYahoo! JAPANã®ãµã¼ãã¹ããå©ç¨ããã ãèª ã«ãããã¨ããããã¾ãã ã客æ§ãã¢ã¯ã»ã¹ããããµã¼ãã¹ã¯æ¬æ¥ã¾ã§ã«ãµã¼ãã¹ãçµäºãããã¾ããã ä»å¾ã¨ãYahoo! JAPANã®ãµã¼ãã¹ããæ顧ãã ããã¾ãããããããããé¡ããããã¾ãã
30åããã°ã©ã ããã®182ãOCamlã§mapreduceã OCamlã®ãã£ãã«(Event.channel)ãè¦ããã®ã§ããã£ãã使ã£ã¦mapreduceãå®è£ ãã¦ã¿ãããæ£ç´ãããã§ãã£ã¦ãã®ããã¾ãèªä¿¡ããªãã èªåã¯mapreduceã次ã®ããã«ç解ãã¦ããã mapreduce f g init xsã¨ããå½¢ã§ä½¿ã fã¯f c xã¨ãã風ã«ä½¿ããã cã¯ãã£ãã«ã§xã¯xsã®ä»»æã®è¦ç´ xããä½ããè¨ç®ãã¦ãã®çµæãcã«éä¿¡ãã éä¿¡ããã®ã¯(key,value)ã¨ããå½¢ ãããmapã«ç¸å½ãã gã¯g key [value] initã®ããã«ä½¿ããã mapã®çµæãkeyãã¨ã«ã¾ã¨ãããã¦ãããããã¦ãããfoldããã®ã«ä½¿ããã ãããreduce(fold)ã«ç¸å½ãã æçµçã«gã§reduceããå¤ã帰ã ã¡ãªã¿ã«ã¹ã¬ããã使ã£ãããã°ã©ã ã¯ã次ã®ããã«ã³ã³ãã¤ã«ããã
id:reinyannyan:20070714:p1 ã§èæ¡ããã¢ããå®è£ æ¡ãã»ã¼å®ç¨çã«ãªã£ã¦ãã¾ããã®ã§ãåããããå ¬éãã¾ãã monad.tar.gz (PLT Scheme ç¨) monad.ss ã¨ãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ãªãã¢ã¸ã¥ã¼ã«ããããããã maybe.ss ã list.ss çã®å ·è±¡ã¢ã¸ã¥ã¼ã«ãå®è£ ãããã¨ããå½¢ã«ãªã£ã¦ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³å´ã§ã¯å¿ è¦ãªå ·è±¡ã¢ããã ãã require ããã° OK ã§ãã ã¢ããã»ãã©ã³ã¹ãã©ã¼ãã¼ããHaskell ç㪠(ãã¼ã¿ã»ã³ã³ã¹ãã©ã¯ã¿ã«ãã) ãã¿ã¼ã³ãããæ§æãå©ç¨ã§ãã¾ãã ãµã³ãã«: 確çã¢ãã
ï¼¼ééäºå®ã®ãµã¤ãã売ããããï¼ï¼ ã¢ã¯ã»ã¹ããªããµã¤ããã³ã³ãã³ã価å¤ã§å£²ããå ´åã⦠ãã¡ã¤ã³ã®æå¹æéãæ´æ°ãã¦ãµã¤ã売å´ã«ãã©ã¤ãã¦ã¿ã¾ããã
This tutorial provides an overview of the PLT Scheme module system. Complete details can be found in PLT MzScheme: Language Manual. If you have DrScheme, search with Help Desk to quickly find details on any particular topic. Defining and Using Modules A module declaration has the shape (module module-name-identifier implementation-language-name expression-or-definition ...) The module system works
%TEXTHEAD%Welcome to the Schematics Scheme Cookbook. The Schematics Scheme Cookbook is a collaborative effort to produce documentation and recipes for using Scheme for common tasks. See the BookIntroduction for more information on the Cookbook's goals, and the important ContributorAgreement statement. Cookbook Starting Points Table of Contents (with recipes) Getting started with PltScheme The F
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}