hayaのHaskell日記

2006-08-31

[] GHCリファレンスを読んでみる 04:25

Data.List

http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-List.html

(++) :: [a] -> [a] -> [a]

2つのリストを連結する

head :: [a] -> a

リストの最初の要素を返す

last :: [a] -> a

リストの最後の要素を返す

tail :: [a] -> [a]

リストの最初の要素以外を除いたリストを返す

init :: [a] -> [a]

リストの最後の要素以外を除いたリストを返す

null :: [a] -> Bool

リストが空ならばTrue、そうでなければFalse

length :: [a] -> Int

リストの要素数を返す。genericLengthのインスタンス

map :: (a -> b) -> [a] -> [b]

引数リストの要素に、1つずつ関数適用していったリストを返す

reverse :: [a] -> [a]

リストを逆順にして返す。無限リストは扱えないっぽい

intersperse :: a -> [a] -> [a]

intersperse 1 [2,3,4,5,6,7] #=> [2,1,3,1,4,1,5,1,6,1,7]

リストの各要素の間に同じものを挿入。

ArronArron 2007/04/09 07:03 http://1ea0761539498fce0c572a5b1c14370f-t.kc93dkc.info <a href="http://1ea0761539498fce0c572a5b1c14370f-h.kc93dkc.info">1ea0761539498fce0c572a5b1c14370f</a> [url]http://1ea0761539498fce0c572a5b1c14370f-b1.kc93dkc.info[/url] [url=http://1ea0761539498fce0c572a5b1c14370f-b2.kc93dkc.info]1ea0761539498fce0c572a5b1c14370f[/url] [u]http://1ea0761539498fce0c572a5b1c14370f-b3.kc93dkc.info[/u] 99503592f31537606ea682f305b4ab39

EzequielEzequiel 2007/04/30 22:46 http://4bbd9241b9a07210810d1346a5bc0a7f-t.gf7tiuy9.info <a href="http://4bbd9241b9a07210810d1346a5bc0a7f-h.gf7tiuy9.info">4bbd9241b9a07210810d1346a5bc0a7f</a> [url]http://4bbd9241b9a07210810d1346a5bc0a7f-b1.gf7tiuy9.info[/url] [url=http://4bbd9241b9a07210810d1346a5bc0a7f-b2.gf7tiuy9.info]4bbd9241b9a07210810d1346a5bc0a7f[/url] [u]http://4bbd9241b9a07210810d1346a5bc0a7f-b3.gf7tiuy9.info[/u] b8c211221d19f4c8bbabc2332ed541f5

free virtual girlfree virtual girl 2007/07/24 10:42 <a href="http://www.hero777.kokoom.com/virtuagirl2.html">free virtual girl</a> [url="http://www.hero777.kokoom.com/virtuagirl2.html"]free virtual girl[/url]

bow wow ft ciarabow wow ft ciara 2007/07/25 03:36 <a href="http://www.uuyvnckt.cn/page14.html">adult incontinence diapers</a> adult incontinence diapers,<a href="http://www.uuyvnckt.cn/page9.html">creative friends craft supplies</a> creative friends craft supplies,<a href="http://www.uuyvnckt.cn/page12.html">crissy moran videos</a> crissy moran videos,<a href="http://www.uuyvnckt.cn/page25.html">horse games for the computer</a> horse games for the computer,<a href="http://www.uuyvnckt.cn/page37.html">gamecube movie spongebob squarepants through walk</a> gamecube movie spongebob squarepants through walk,<a href="http://www.uuyvnckt.cn/page28.html">easy shoes</a> easy shoes,<a href="http://www.uuyvnckt.cn/page20.html">ciara 1 2 step lyrics</a> ciara 1 2 step lyrics,<a href="http://www.uuyvnckt.cn/page42.html">fat mature women galleries</a> fat mature women galleries,<a href="http://www.uuyvnckt.cn/page13.html">_les travaux de jante de hentai</a> _les travaux de jante de hentai,<a href="http://www.uuyvnckt.cn/page10.html">google desktop security</a> google desktop security,

dota item listdota item list 2007/07/25 12:33 <a href="http://www.xavukurl.cn/page59.html">foxfire web browser</a> <a href="http://www.xavukurl.cn/page44.html">anna benson in playboy</a> <a href="http://www.xavukurl.cn/page49.html">i monster lyrics</a> <a href="http://www.xavukurl.cn/page46.html">bette midler baby mine lyrics</a> <a href="http://www.xavukurl.cn/page35.html">expedia online coupons</a> <a href="http://www.xavukurl.cn/page50.html">custom eye contacts</a> <a href="http://www.xavukurl.cn/page58.html">big steve thong pictures</a> <a href="http://www.xavukurl.cn/page37.html">emule server list</a> <a href="http://www.xavukurl.cn/page41.html">free love match horoscope</a> <a href="http://www.xavukurl.cn/page39.html">b2b marketing list</a> [url="http://www.xavukurl.cn/page59.html"]foxfire web browser[/url] [url="http://www.xavukurl.cn/page44.html"]anna benson in playboy[/url] [url="http://www.xavukurl.cn/page49.html"]i monster lyrics[/url] [url="http://www.xavukurl.cn/page46.html"]bette midler baby mine lyrics[/url] [url="http://www.xavukurl.cn/page35.html"]expedia online coupons[/url] [url="http://www.xavukurl.cn/page50.html"]custom eye contacts[/url] [url="http://www.xavukurl.cn/page58.html"]big steve thong pictures[/url] [url="http://www.xavukurl.cn/page37.html"]emule server list[/url] [url="http://www.xavukurl.cn/page41.html"]free love match horoscope[/url] [url="http://www.xavukurl.cn/page39.html"]b2b marketing list[/url]

beer belly girlbeer belly girl 2007/07/26 06:23 <a href="http://www.kiqakrca.cn/page72.html">johnnie walker playboy ads</a> johnnie walker playboy ads,<a href="http://www.kiqakrca.cn/page99.html">buy flowers wholesale</a> buy flowers wholesale,<a href="http://www.kiqakrca.cn/page79.html">free local chat rooms</a> free local chat rooms,<a href="http://www.kiqakrca.cn/page54.html">chinese character tattoos</a> chinese character tattoos,<a href="http://www.kiqakrca.cn/page98.html">camaro z28 keychain</a> camaro z28 keychain,<a href="http://www.kiqakrca.cn/page64.html">hot finger</a> hot finger,<a href="http://www.kiqakrca.cn/page87.html">free teen girl invitations</a> free teen girl invitations,<a href="http://www.kiqakrca.cn/page92.html">i believe in thing called love</a> i believe in thing called love,<a href="http://www.kiqakrca.cn/page76.html">fast nice cars</a> fast nice cars,<a href="http://www.kiqakrca.cn/page78.html">expedia discount code</a> expedia discount code,

a welsh viewa welsh view 2007/07/26 09:19 <a href="http://www.vllaxicr.cn/page81.html">cuban missile crisis wikipedia</a> cuban missile crisis wikipedia,<a href="http://www.vllaxicr.cn/page73.html">dying dogs</a> dying dogs,<a href="http://www.vllaxicr.cn/page62.html">95 honda accord cold air intakes</a> 95 honda accord cold air intakes,<a href="http://www.vllaxicr.cn/page85.html">kitchen furniture manufacturers uk</a> kitchen furniture manufacturers uk,<a href="http://www.vllaxicr.cn/page77.html">25th id website</a> 25th id website,<a href="http://www.vllaxicr.cn/page96.html">card christmas gift shopping</a> card christmas gift shopping,<a href="http://www.vllaxicr.cn/page68.html">all of arnold schwarzenegger movies</a> all of arnold schwarzenegger movies,<a href="http://www.vllaxicr.cn/page69.html">japanese to english online dictionary</a> japanese to english online dictionary,<a href="http://www.vllaxicr.cn/page70.html">ferrari pch</a> ferrari pch,<a href="http://www.vllaxicr.cn/page89.html">international airfares cheap travel deals consolidator</a> international airfares cheap travel deals consolidator,

hot latina sex videohot latina sex video 2007/07/27 23:48 <a href="http://www.oehwgvpm.cn/page20.html">dell 670 workstation</a> <a href="http://www.oehwgvpm.cn/page30.html">california legal research jobs</a> <a href="http://www.oehwgvpm.cn/page39.html">action baseball</a> <a href="http://www.oehwgvpm.cn/page25.html">african american nascar driver</a> <a href="http://www.oehwgvpm.cn/page22.html">blue bell flowers missouri</a> <a href="http://www.oehwgvpm.cn/page21.html">blowjob pov</a> <a href="http://www.oehwgvpm.cn/page35.html">christmas song words</a> <a href="http://www.oehwgvpm.cn/page23.html">cat pencil drawing</a> <a href="http://www.oehwgvpm.cn/page36.html">gem productpage ring silver stone</a> <a href="http://www.oehwgvpm.cn/page31.html">book books music</a> [url="http://www.oehwgvpm.cn/page20.html"]dell 670 workstation[/url] [url="http://www.oehwgvpm.cn/page30.html"]california legal research jobs[/url] [url="http://www.oehwgvpm.cn/page39.html"]action baseball[/url] [url="http://www.oehwgvpm.cn/page25.html"]african american nascar driver[/url] [url="http://www.oehwgvpm.cn/page22.html"]blue bell flowers missouri[/url] [url="http://www.oehwgvpm.cn/page21.html"]blowjob pov[/url] [url="http://www.oehwgvpm.cn/page35.html"]christmas song words[/url] [url="http://www.oehwgvpm.cn/page23.html"]cat pencil drawing[/url] [url="http://www.oehwgvpm.cn/page36.html"]gem productpage ring silver stone[/url] [url="http://www.oehwgvpm.cn/page31.html"]book books music[/url]

henrikmakotoinadomihenrikmakotoinadomi 2007/08/01 07:56 <a href="httpwwwlefnytjucnpage58html">bestpizzacentercityphiladelphia</a> bestpizzacentercityphiladelphia,<a href="httpwwwlefnytjucnpage48html">definepreserve</a> definepreserve,<a href="httpwwwlefnytjucnpage67html">malefiveseconds</a> malefiveseconds,<a href="httpwwwlefnytjucnpage54html">cecilcarteraz</a> cecilcarteraz,<a href="httpwwwlefnytjucnpage41html">freebiesandsamplesinaustralia</a> freebiesandsamplesinaustralia,<a href="httpwwwlefnytjucnpage54html">cecilsworlddecember222006</a> cecilsworlddecember222006,<a href="httpwwwlefnytjucnpage62html">lehenrikibsenunemaisondepoup233</a> lehenrikibsenunemaisondepoup233,<a href="httpwwwlefnytjucnpage46html">avgp233</a> avgp233,<a href="httpwwwlefnytjucnpage47html">rensen</a> rensen,<a href="httpwwwlefnytjucnpage47html">henriklarssonsmoke</a> henriklarssonsmoke,

RajuRaju 2013/03/31 19:31 psifiste ta zwa,,,etsi. na vgoun pio katw oi voreioi pou diiaimfzane pasok kai nd kai ta ipoloipa zwa tis ellinikis politikis skinis kai na apantisoun gia aftes tis eidiseis. opos episis kai ta "vlastaria" mas pou kosmousan ta psifodeltia olon twn kommatwn kai poulousan patriotismo. den einai na perimeneis kati allo apo elladiti politiko kai mallon sigoura kai apo tous dikous mas. apla kapoia mera tha tous sikosei kai tha tous parei olous.

sqlswjfmxssqlswjfmxs 2013/04/01 18:51 5VtZjp <a href="http://gqhgrxmjyuku.com/">gqhgrxmjyuku</a>

tmkibpntmkibpn 2013/04/02 01:39 F2vozJ , [url=http://qniwjlumyicd.com/]qniwjlumyicd[/url], [link=http://xgarpjoxxzpe.com/]xgarpjoxxzpe[/link], http://ifczxckcepyo.com/

yvxlkrrdxlwyvxlkrrdxlw 2013/04/02 08:05 t013ja <a href="http://jchrurnespaq.com/">jchrurnespaq</a>

wjjrtntwjjrtnt 2013/04/04 19:45 fSNyoO , [url=http://ihpnxmjwsapi.com/]ihpnxmjwsapi[/url], [link=http://hbbqbazannlu.com/]hbbqbazannlu[/link], http://daclabirlonq.com/

aympdzfdaympdzfd 2013/04/04 19:45 XXY6MT , [url=http://efxgndguvdpm.com/]efxgndguvdpm[/url], [link=http://eahwcueipuze.com/]eahwcueipuze[/link], http://tryoxstvzove.com/

aympdzfdaympdzfd 2013/04/04 19:45 XXY6MT , [url=http://efxgndguvdpm.com/]efxgndguvdpm[/url], [link=http://eahwcueipuze.com/]eahwcueipuze[/link], http://tryoxstvzove.com/

egingrgxhegingrgxh 2013/04/04 19:45 ngTCpO , [url=http://qljponnawbol.com/]qljponnawbol[/url], [link=http://xbluicojuvtw.com/]xbluicojuvtw[/link], http://xfusjseshfiy.com/

ゲスト



トラックバック - http://haskell.g.hatena.ne.jp/harg/20060831