Submit Search
Upload
Advanced Topics in Haskell
•
1 like
•
939 views
ikegami__
Follow
A supplement to the talk for introduction to Haskell at Open Source Conference 2007
Read less
Read more
Technology
Entertainment & Humor
Report
Share
Report
Share
1 of 36
Download now
Download to read offline
Recommended
cosc 281 hw2
cosc 281 hw2
Brian Goggins
HelsinkiOS Jan 2015: Useful iOS Code Snippets
HelsinkiOS Jan 2015: Useful iOS Code Snippets
Jouni Miettunen
Interpolation graph c++
Interpolation graph c++
rpiitcbme
ARTDM 170, Week13: Processing
ARTDM 170, Week13: Processing
Gilbert Guerrero
Wcbpijwbpij new
Wcbpijwbpij new
Hanokh Aloni
Is WebAssembly the killer of JavaScript?
Is WebAssembly the killer of JavaScript?
Boyan Mihaylov
Oprerator overloading
Oprerator overloading
Parthipan Parthi
Some hours of python
Some hours of python
Things Lab
Recommended
cosc 281 hw2
cosc 281 hw2
Brian Goggins
HelsinkiOS Jan 2015: Useful iOS Code Snippets
HelsinkiOS Jan 2015: Useful iOS Code Snippets
Jouni Miettunen
Interpolation graph c++
Interpolation graph c++
rpiitcbme
ARTDM 170, Week13: Processing
ARTDM 170, Week13: Processing
Gilbert Guerrero
Wcbpijwbpij new
Wcbpijwbpij new
Hanokh Aloni
Is WebAssembly the killer of JavaScript?
Is WebAssembly the killer of JavaScript?
Boyan Mihaylov
Oprerator overloading
Oprerator overloading
Parthipan Parthi
Some hours of python
Some hours of python
Things Lab
Plot3D Package and Example in R.-Data visualizat,on
Plot3D Package and Example in R.-Data visualizat,on
Dr. Volkan OBAN
Oops in c++
Oops in c++
DravidSh
Cpp
Cpp
Ankit Dubey
Om (Cont.)
Om (Cont.)
Taku Fukushima
Midi pc to_cc_port_for_kontakt_marcelo port
Midi pc to_cc_port_for_kontakt_marcelo port
InfoTech - Tecnologia sem limites S.A
Include
Include
Angie Borda
week-2x
week-2x
KITE www.kitecolleges.com
Ruby haskell extension
Ruby haskell extension
Toshiyuki Terashita
Better performance through Superscalarity
Better performance through Superscalarity
Mårten Rånge
Fragmentation
Fragmentation
A. S. M. Shafi
XKE Typeclass
XKE Typeclass
Mathieu DULAC
PythonArtCode
PythonArtCode
Quinn McFee
Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007
ikegami__
Royale CroisièRe
Royale CroisièRe
KIKIROK
Apoyo A Medicos
Apoyo A Medicos
mascuero
LenguajesyeducacióN
LenguajesyeducacióN
nellyeblin
Advertising with ElevateTV
Advertising with ElevateTV
pbenhametv
HOM CHARLA 2
HOM CHARLA 2
saludytriunfo
Cooler
Cooler
rcborlando
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
ikegami__
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
More Related Content
What's hot
Plot3D Package and Example in R.-Data visualizat,on
Plot3D Package and Example in R.-Data visualizat,on
Dr. Volkan OBAN
Oops in c++
Oops in c++
DravidSh
Cpp
Cpp
Ankit Dubey
Om (Cont.)
Om (Cont.)
Taku Fukushima
Midi pc to_cc_port_for_kontakt_marcelo port
Midi pc to_cc_port_for_kontakt_marcelo port
InfoTech - Tecnologia sem limites S.A
Include
Include
Angie Borda
week-2x
week-2x
KITE www.kitecolleges.com
Ruby haskell extension
Ruby haskell extension
Toshiyuki Terashita
Better performance through Superscalarity
Better performance through Superscalarity
Mårten Rånge
Fragmentation
Fragmentation
A. S. M. Shafi
XKE Typeclass
XKE Typeclass
Mathieu DULAC
PythonArtCode
PythonArtCode
Quinn McFee
What's hot
(12)
Plot3D Package and Example in R.-Data visualizat,on
Plot3D Package and Example in R.-Data visualizat,on
Oops in c++
Oops in c++
Cpp
Cpp
Om (Cont.)
Om (Cont.)
Midi pc to_cc_port_for_kontakt_marcelo port
Midi pc to_cc_port_for_kontakt_marcelo port
Include
Include
week-2x
week-2x
Ruby haskell extension
Ruby haskell extension
Better performance through Superscalarity
Better performance through Superscalarity
Fragmentation
Fragmentation
XKE Typeclass
XKE Typeclass
PythonArtCode
PythonArtCode
Viewers also liked
Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007
ikegami__
Royale CroisièRe
Royale CroisièRe
KIKIROK
Apoyo A Medicos
Apoyo A Medicos
mascuero
LenguajesyeducacióN
LenguajesyeducacióN
nellyeblin
Advertising with ElevateTV
Advertising with ElevateTV
pbenhametv
HOM CHARLA 2
HOM CHARLA 2
saludytriunfo
Cooler
Cooler
rcborlando
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
ikegami__
Viewers also liked
(8)
Lightening Talk at Open Source Conference 2007
Lightening Talk at Open Source Conference 2007
Royale CroisièRe
Royale CroisièRe
Apoyo A Medicos
Apoyo A Medicos
LenguajesyeducacióN
LenguajesyeducacióN
Advertising with ElevateTV
Advertising with ElevateTV
HOM CHARLA 2
HOM CHARLA 2
Cooler
Cooler
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
Introduction to Haskell games in Open Source Conference 2007 Hokkaido
Recently uploaded
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Pixlogix Infotech
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Recently uploaded
(20)
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Advanced Topics in Haskell
1.
ikegami@madscientist.jp
1
2.
2
3.
3
4.
4
5.
5
6.
6
7.
7
8.
8
9.
9
10.
a = 10
a = 10 a = 10 b = 20 b = 20 b = 20 c = 30 c = 30 c = 30 10
11.
11
12.
a=b+c
a=b+c where where b=2 { b = 2; c=3 c = 3; } 12
13.
13
14.
14
15.
15
16.
16
17.
17
18.
18
19.
19
20.
20
21.
21
22.
22
23.
23
24.
24
25.
25
26.
26
27.
27
28.
28
29.
29
30.
main :: IO
() main = mapM_ (putStrLn . fizzBuzz) [1..] fizzBuzz :: Integer -> String fizzBuzz x | x `mod` 15 == 0 = quot;FizzBuzzquot; | x `mod` 3 == 0 = quot;Fizzquot; | x `mod` 5 == 0 = quot;Buzzquot; | otherwise = show x 30
31.
31
32.
unsafePerformIO import System.IO.Unsafe unsafePerformIO ::
IO a -> a 32
33.
unsafePerformIO import Data.Generics cast ::
(Typeable a, Typeable b) => a -> Maybe b 33
34.
Haskell FFI
FFI = Foreign Function Interface import Foreign data CChar data CInt 34
35.
Windows API import System.Win32 hKEY_CURRENT_USER
:: HKEY 35
36.
Dons’ eval http://www.cse.unsw.edu.au/~dons/hs-plugins/ eval ::
Typeable a => String -> [Import] -> IO (Maybe a) 36
Download now