Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample code to accompany the book "Parallel and Concurrent Programming in Haskell"
Haskell Makefile Other
branch: master
Failed to load latest commit information.
crc32 Accelerate lab
distrib-chat Update to the latest distributed-process
distrib-db Use generic deriving (binary >= 0.6.3) and latest distributed-process
distrib-ping Update to the latest distributed-process
fwsparse ghc 7.6 fix
index add new parallelism exercise
kmeans Builds with GHC 7.10.1
mandel callouts
other Move examples that are not in the book into other/
parinfer Builds with GHC 7.10.1
.gitignore widen dependencies for GHC 7.8.x
.travis.yml add
AccelerateCompat.hs Fixes for accelerate-0.14, and bump to 0.3.2
Async.hs waitAny should be exported from Async.
ByteStringCompat.hs more fixes for GHC 7.4.1
CasIORef.hs fix for compilation with GHC 7.8
ConcurrentUtils.hs forkFinally was added to base in GHC 7.6
DistribUtils.hs add a hostname to the slave command
GetURL.hs escape the URI string
LICENSE Move examples that are not in the book into other/
Makefile Make sdist work
Setup.hs add a .cabal file, rename some files
Stream.hs fix callouts
Sudoku.hs initial import
TBQueue.hs TBQueue is part of stm since 2.4.
TBQueue2.hs today's changes: finish conc-stm and on to conc-higher
TChan.hs various tweaks and fixes
TList.hs various tweaks and fixes
TQueue.hs tidy up
ThreadPool.hs work from the last couple of days: conc-par and conc-distrib
TimeIt.hs initial import
catch-mask.hs add bangs suggested by Andres
catch-mask2.hs various tweaks and fixes
chan.hs various fixes; organise by chapter in the .cabal file
chan2.hs various fixes for GHC 7.4.1 etc.
chan3.hs various fixes; organise by chapter in the .cabal file
chanbench.hs merge kosmikus/stm
chat.hs distributed chat server
deadlock1.hs Add <<sec:deadlock>>
deadlock2.hs Add <<sec:deadlock>>
findpar.hs work from the last couple of days: conc-par and conc-distrib
findpar2.hs work from the last couple of days: conc-par and conc-distrib
findpar3.hs refactoring only
findpar4.hs various fixes; organise by chapter in the .cabal file
findpar5.hs Add a section about ParIO
findseq.hs refactoring only
fork.hs fixes
fwaccel-gpu.hs Fixes for accelerate-0.14, and bump to 0.3.2
fwaccel.hs Fixes for accelerate-0.14, and bump to 0.3.2
fwdense.hs last round of changes
fwdense1.hs add fwdense and rotateimage
geturls.hs initial import
geturls1.hs more work on conc-mvar
geturls2.hs Remove superfluous imports.
geturls3.hs fixes
geturls4.hs Remove superfluous imports.
geturls5.hs Whitespace fix (for consistency).
geturls6.hs fixes
geturls7.hs Remove redundant imports.
geturls8.hs Remove redundant imports.
geturls9.hs Remove redundant import.
geturlscancel.hs Remove superfluous imports.
geturlscancel2.hs forkFinally was added to base in GHC 7.6
geturlsfirst.hs various fixes for GHC 7.4.1 etc.
geturlsstm.hs initial import
logger.hs make it stop properly
modifytwo.hs various fixes; organise by chapter in the .cabal file
mvar1.hs add some more code examples
mvar2.hs add some more code examples
mvar3.hs today's work, mainly on conc-mvar
mvar4.hs add a call to traceEventIO
parconc-examples.cabal Update to the latest distributed-process
parlist.hs do the evalList/parList split
parmonad.hs various fixes; organise by chapter in the .cabal file
phonebook.hs fixes
reminders.hs today's work, mainly on conc-mvar
reminders2.hs fixes
rotateimage.hs some refactorings
rpar.hs add rpar examples
rsa-pipeline.hs more fixes for GHC 7.4.1
rsa.hs more fixes for GHC 7.4.1
rsa1.hs more fixes for GHC 7.4.1
rsa2.hs more fixes for GHC 7.4.1
server.hs move port into the code fragment
server2.hs move port into the code fragment
strat.hs add strat examples
strat2.hs add strat examples
strat3.hs add strat examples
sudoku-par1.hs add Par monad sudoku examples
sudoku-par2.hs use trace sched
sudoku-par3.hs add Par monad sudoku examples
sudoku-par4.hs add Par monad sudoku examples
sudoku1.hs tidy code
sudoku17.1000.txt initial import
sudoku17.16000.txt add a 16000-problem data set for sudoku
sudoku17.49151.txt initial import
sudoku2.hs remove the <5> callout
sudoku3.hs unnecessary import
sudoku4.hs we lost the "evalute (length puzzles)" somewhere
sudoku5.hs the strategies version
threadperf1.hs add <<sec:conc-efficiency>>
threadperf2.hs add <<sec:conc-efficiency>>
timeout.hs add sigs
timeout2.hs add sigs
timetable.hs Builds with GHC 7.10.1
timetable1.hs Builds with GHC 7.10.1
timetable2.hs Builds with GHC 7.10.1
timetable3.hs Builds with GHC 7.10.1
tmvar.hs some of conc-stm done
windowman.hs various tweaks and fixes
Something went wrong with that request. Please try again.