Enviar búsqueda
Cargar
Stateモナドの解説 前編
•
Descargar como KEY, PDF
•
4 recomendaciones
•
1,953 vistas
Masahiro Honma
Seguir
Tecnología
Educación
Denunciar
Compartir
Denunciar
Compartir
1 de 28
Descargar ahora
Recomendados
QTP Presentation2
QTP Presentation2
vucevic
Computer programming 2 Lesson 12
Computer programming 2 Lesson 12
MLG College of Learning, Inc
String.ppt
String.ppt
ajeela mushtaq
Strings
Strings
Imad Ali
String
String
Kishan Gohel
Strings in c
Strings in c
vampugani
String in c programming
String in c programming
Devan Thakur
The string class
The string class
Syed Zaid Irshad
Recomendados
QTP Presentation2
QTP Presentation2
vucevic
Computer programming 2 Lesson 12
Computer programming 2 Lesson 12
MLG College of Learning, Inc
String.ppt
String.ppt
ajeela mushtaq
Strings
Strings
Imad Ali
String
String
Kishan Gohel
Strings in c
Strings in c
vampugani
String in c programming
String in c programming
Devan Thakur
The string class
The string class
Syed Zaid Irshad
05 c++-strings
05 c++-strings
Kelly Swanson
Strings
Strings
Nilesh Dalvi
Strinng Classes in c++
Strinng Classes in c++
Vikash Dhal
String Handling in c++
String Handling in c++
Fahim Adil
Strings IN C
Strings IN C
yndaravind
14 strings
14 strings
Rohit Shrivastava
Templating with your {{mustache}}js
Templating with your {{mustache}}js
Stefano Ceschi Berrini
Strings in c++
Strings in c++
International Islamic University
Fundamental JS
Fundamental JS
Ximing Dai
13 Strings and text processing
13 Strings and text processing
maznabili
Strings
Strings
Michael Gordon
レンズ (ぶつかり稽古の没プレゼン)
レンズ (ぶつかり稽古の没プレゼン)
Masahiro Honma
すべてが@__kanになる
すべてが@__kanになる
Masahiro Honma
Types and perl language
Types and perl language
Masahiro Honma
Currying in perl
Currying in perl
Masahiro Honma
カレーとHokkaidopm
カレーとHokkaidopm
Masahiro Honma
モナモナ言うモナド入門.tar.gz
モナモナ言うモナド入門.tar.gz
Masahiro Honma
モナモナ言うモナド入門
モナモナ言うモナド入門
Masahiro Honma
Perl saved a lady.
Perl saved a lady.
Masahiro Honma
Levenshtein Automata
Levenshtein Automata
Masahiro Honma
20120526 hachioji.pm
20120526 hachioji.pm
Masahiro Honma
循環参照のはなし
循環参照のはなし
Masahiro Honma
Más contenido relacionado
La actualidad más candente
05 c++-strings
05 c++-strings
Kelly Swanson
Strings
Strings
Nilesh Dalvi
Strinng Classes in c++
Strinng Classes in c++
Vikash Dhal
String Handling in c++
String Handling in c++
Fahim Adil
Strings IN C
Strings IN C
yndaravind
14 strings
14 strings
Rohit Shrivastava
Templating with your {{mustache}}js
Templating with your {{mustache}}js
Stefano Ceschi Berrini
Strings in c++
Strings in c++
International Islamic University
Fundamental JS
Fundamental JS
Ximing Dai
13 Strings and text processing
13 Strings and text processing
maznabili
Strings
Strings
Michael Gordon
La actualidad más candente
(11)
05 c++-strings
05 c++-strings
Strings
Strings
Strinng Classes in c++
Strinng Classes in c++
String Handling in c++
String Handling in c++
Strings IN C
Strings IN C
14 strings
14 strings
Templating with your {{mustache}}js
Templating with your {{mustache}}js
Strings in c++
Strings in c++
Fundamental JS
Fundamental JS
13 Strings and text processing
13 Strings and text processing
Strings
Strings
Más de Masahiro Honma
レンズ (ぶつかり稽古の没プレゼン)
レンズ (ぶつかり稽古の没プレゼン)
Masahiro Honma
すべてが@__kanになる
すべてが@__kanになる
Masahiro Honma
Types and perl language
Types and perl language
Masahiro Honma
Currying in perl
Currying in perl
Masahiro Honma
カレーとHokkaidopm
カレーとHokkaidopm
Masahiro Honma
モナモナ言うモナド入門.tar.gz
モナモナ言うモナド入門.tar.gz
Masahiro Honma
モナモナ言うモナド入門
モナモナ言うモナド入門
Masahiro Honma
Perl saved a lady.
Perl saved a lady.
Masahiro Honma
Levenshtein Automata
Levenshtein Automata
Masahiro Honma
20120526 hachioji.pm
20120526 hachioji.pm
Masahiro Honma
循環参照のはなし
循環参照のはなし
Masahiro Honma
Arrows in perl
Arrows in perl
Masahiro Honma
Hachioji.pm in Machida の LT
Hachioji.pm in Machida の LT
Masahiro Honma
Monads in perl
Monads in perl
Masahiro Honma
ウヰスキーとPSGI
ウヰスキーとPSGI
Masahiro Honma
モデルから知るGit
モデルから知るGit
Masahiro Honma
YAPCレポートの舞台裏
YAPCレポートの舞台裏
Masahiro Honma
Git入門
Git入門
Masahiro Honma
AnyEvent and Plack
AnyEvent and Plack
Masahiro Honma
Math::Category
Math::Category
Masahiro Honma
Más de Masahiro Honma
(20)
レンズ (ぶつかり稽古の没プレゼン)
レンズ (ぶつかり稽古の没プレゼン)
すべてが@__kanになる
すべてが@__kanになる
Types and perl language
Types and perl language
Currying in perl
Currying in perl
カレーとHokkaidopm
カレーとHokkaidopm
モナモナ言うモナド入門.tar.gz
モナモナ言うモナド入門.tar.gz
モナモナ言うモナド入門
モナモナ言うモナド入門
Perl saved a lady.
Perl saved a lady.
Levenshtein Automata
Levenshtein Automata
20120526 hachioji.pm
20120526 hachioji.pm
循環参照のはなし
循環参照のはなし
Arrows in perl
Arrows in perl
Hachioji.pm in Machida の LT
Hachioji.pm in Machida の LT
Monads in perl
Monads in perl
ウヰスキーとPSGI
ウヰスキーとPSGI
モデルから知るGit
モデルから知るGit
YAPCレポートの舞台裏
YAPCレポートの舞台裏
Git入門
Git入門
AnyEvent and Plack
AnyEvent and Plack
Math::Category
Math::Category
Último
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Último
(20)
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Stateモナドの解説 前編
1.
State
2009 5 31 id:hiratara
2.
• •
State
3.
•
URI Comparable Interface Comparable URI
4.
(1)
5.
Bool
length Float fst Integer take MyType zip (Int, Bool) myfunc [Char] id Maybe String ... Int → Int → Int ...
6.
Bool
length Float fst Integer take MyType zip (Int, Bool) myfunc [Char] id Maybe String ... Int → Int → Int ...
7.
Bool
length Float fst Integer take MyType zip (Int, Bool) myfunc [Char] id Maybe String ... Int → Int → Int ...
8.
id
f -> f quot;abcquot; [Char] id head [Char] -> [Char] Char id length take Int id
9.
id
f -> f quot;abcquot; [Char] id head [Char] → [Char] Char id length take Int id
10.
(2)
11.
:
Maybe [Char] Maybe [Char] Maybe length liftM length Maybe Int Maybe Int
12.
[] [Char]
[ [Char] ] [] length liftM length [] Int [ Int ]
13.
[]
[Char] [] [Char] [ [Char] ] [] length liftM length [] Int [ Int ]
14.
liftM
Maybe [] [Char] [ [Char] ] [] length liftM length [] Int [ Int ]
15.
(3) return
16.
:
Maybe return [Char] Maybe [Char] return Int Maybe Int
17.
[]
return [Char] [ [Char] ] return Int [ Int ]
18.
return
State return [Char] State [Char] return Bool State Bool return MyType State MyType return IO String State (IO String)
19.
(4) (>>=)
20.
Maybe [Char]
Maybe [Char] func Int Maybe Int Maybe
21.
(>>=)
Maybe [Char] Maybe [Char] (>>=) func (=<<) func Int Maybe Int Maybe
22.
State
(>>=) [Char] State [Char] func1 (=<<) func1 (>>=) Int State Int func2 (=<<) func2 MyType State MyType
23.
return
IO [Char] IO [Char] length return Int IO Int
24.
IO [Char]
IO [Char] return . length length return Int IO Int
25.
(>>=)
liftM IO [Char] (>>=) IO [Char] return . length length (=<<) $ return . length return Int IO Int
26.
• • return • (>>=)
27.
• • •
State
28.
• Haskell
Kleisli triple Monad • Kleisli triple Monad • Kleisli triple liftM ( Monad )
Notas del editor
Descargar ahora