This is not the document you are looking for? Use the search form below to find more!

Report home > Others

DEFUN 2008 - Real World Haskell

0.00 (0 votes)
Document Description
DEFUN 2008 - Real World Haskell
File Details
  • Added: April, 26th 2011
  • Reads: 200
  • Downloads: 2
  • File size: 774.91kb
  • Pages: 130
  • Tags: haskell, parsing, concurrency, stm
  • content preview
  • Name: valentina
Embed Code:

Add New Comment

Related Documents

Module Feedback: Real World

by: frandaly, 1 pages

Feedback received from Real world module

Apache Web Services in the Real World, an E-Science Perspective

by: lantos, 20 pages

Apache Web Services in the Real World, an E-Science Perspective

Real World Technologies

by: lian, 85 pages

Real World Technologies

Real-world Model-View-ViewModel for WPF

by: alina, 35 pages

Real-world MVVM in WPFPaul StovellSenior ConsultantTechnical specialist: WPFAgendaPart 1: Introducing MVVMRefactoring to MVVMUnit testing ...

Applying NFC in the Real World

by: desi, 5 pages

APPLYING TO NFC REAL WORLD APPLICATIONS Summary While NFC supports and enables multiple applications on handsets, the first phase of its adoption is already ...

Real World Affiliate Profits

by: riquochet, 0 pages

Most people who approach online marketing for the first time will start their online money making adventure using affiliate marketing as their method of choice.


by: loes, 2 pages

The Center for Global and Business Development (Th e Center) has three principal areas of concern, each of which is the focus of one of the institutes within the Center. Th e Pacifi c McGeorge ...

3G v. 4G: Real-world Speed Tests -

by: wholesaleeshops, 2 pages

As is the case with any wireless service, you need three things to get access: a network, a device for connecting and a service plan. Available in 62 cities, from Everett, Wash., to Tampa, Fla., ...

CAPTCHA Smuggling: Hijacking Web Browsing Sessions to Create CAPTCHA Farms

by: matteo, 6 pages

CAPTCHAs protect online resources and services from automated access. From an attacker's point of view, they are typically perceived as an annoyance that prevents the mass creation of accounts or the ...

Chasing Corporate Donors

by: tero, 3 pages

Chasing Corporate Donors

Content Preview
Real World HaskellBryan O’Sullivanbos@serpentine.com2008-09-27Welcome!A few things to expect about this tutorial:The pace will be rapidStop me and ask questions—early and oftenI assume no prior Haskell exposureA little bit about HaskellHaskell is a multi-paradigm language.It chooses some unusual, but principled, defaults:Pure functionsNon-strict evaluationImmutable dataStatic, strong typingWhy default to these behaviours?We want our code to be safe, modular, and tractable.Pure functionsDefinitionThe result of a pure function depends only on its visible inputs:Given identical inputs, it always computes the same result.It has no other observable effects.What are some consequences of this?Modularity leads to simplified reasoning about behaviour.Straightforward testing: no need for elaborate frameworks.Immutable dataDefinitionData is immutable (or purely functional) if it is never modifiedafter construction.To “modify” a value, we create a new value.Both new and old versions can coexist afterwards, so we getpersistent, versioned data for free.Modification is often easier than with mutable data.In multithreaded code, we do away with much elaboratelocking.Static, strong typingDefinitionA program is statically typed if we know the type of everyexpression before the program is run.DefinitionCode is strongly typed if the absence of certain classes of error canbe proven statically.Safety, modularity, and tractabilitySafety:As few nasty surprises at runtime as possible.Static typing and eased testing give us confidence.Modularity:We can build big pieces of code from smaller components.No need to focus on the details of the smaller parts.Tractability:All of this fits in our brain comfortably......leaving plenty of room for the application we care about.GHC, the Glorious Glasgow Haskell CompilerHave you got GHC yet?Download installer for Windows, OS X, or Linux here:’s special about GHC?Mature, portable, optimising compilerGreat tools:interactive shell and debuggertime and space profilerscode coverage analyserBSD-licensed, hence suitable for OSS and commercial useCounting linesThe classic Unix wc command counts the lines in some files:$ time wc -l *.fasta9975 1000-Rn_EST.fasta14032 chr18.fasta14005 chr19.fasta13980 chr20.fasta42017 chr_all.fasta94009 totalreal 0m0.017s

DEFUN 2008 - Real World Haskell



Your download will begin in a moment.
If it doesn't, click here to try again.

Share DEFUN 2008 - Real World Haskell to:

Insert your wordpress URL:


Share DEFUN 2008 - Real World Haskell as:



Share DEFUN 2008 - Real World Haskell.

Enter two words as shown below. If you cannot read the words, click the refresh icon.


Share DEFUN 2008 - Real World Haskell as:

Copy html code above and paste to your web page.