Enviar pesquisa
Carregar
Advanced Topics in Haskell
•
1 gostou
•
939 visualizações
ikegami__
Seguir
A supplement to the talk for introduction to Haskell at Open Source Conference 2007
Leia menos
Leia mais
Tecnologia
Diversão e humor
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 36
Baixar agora
Baixar para ler offline
Recomendados
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
Recomendados
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__
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Mais conteúdo relacionado
Mais procurados
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
Mais procurados
(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
Destaque
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__
Destaque
(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
Último
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
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
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
SynarionITSolutions
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Último
(20)
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
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...
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
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
Baixar agora