I was wondering if anyone had an idea or estimate as to how large the
Haskell community is ?
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 12 February 2011 20:24, Don Stewart d...@galois.com wrote:
aaronngray.lists:
I was wondering if anyone had an idea or estimate as to how large the
Haskell community is ?
No one knows. There are many figures that you could use to estimate the
size (e.g. I try to gather signifcant
On 12 February 2011 21:31, Erik de Castro Lopo mle...@mega-nerd.com wrote:
Aaron Gray wrote:
On 12 February 2011 20:24, Don Stewart d...@galois.com wrote:
aaronngray.lists:
I was wondering if anyone had an idea or estimate as to how large
the
Haskell community
On 12 February 2011 23:57, Jan Christiansen j...@informatik.uni-kiel.dewrote:
On 12.02.2011, at 21:18, Aaron Gray wrote:
I was wondering if anyone had an idea or estimate as to how large the
Haskell community is ?
All the answers made me wonder what the criterion is to be a member
On 27 January 2011 22:42, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
L.S.,
Only four days until the old Haskell.org server disappears; I found the
following missing:
http://www.haskell.org/yale/
http://darcs.haskell.org/hfuse/
http://haskell.org/gtk2hs/
http://haskell.org/FranTk
Is there anyway to get a list of applied functions in the running of a
Haskell program ?
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 24 January 2011 23:01, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.comwrote:
On 25 January 2011 02:55, Aaron Gray aaronngray.li...@gmail.com wrote:
Is there anyway to get a list of applied functions in the running of a
Haskell program ?
Profile it?
Okay, How do I do that ?
Aaron
On 25 January 2011 02:12, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.comwrote:
On 25 January 2011 12:05, Aaron Gray aaronngray.li...@gmail.com wrote:
On 24 January 2011 23:01, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
wrote:
On 25 January 2011 02:55, Aaron Gray aaronngray.li
On 22 January 2011 13:15, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Saturday 22 January 2011 03:47:55, Aaron Gray wrote:
Data.Ranges.hs:12
show (Range x y) = concat [(, show x, –, show y, )]
Contains the following charcter sequence :-
–
Which does
I am getting the following error :-
C:\Languages\Lexer\Haskellcabal install ranges
Resolving dependencies...
cabal: Error: some packages failed to install:
ranges-0.2.3 failed while unpacking the package. The exception was:
user error (TAR checksum error)
I am on Windows
On 22 January 2011 16:31, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Saturday 22 January 2011 17:01:00, Aaron Gray wrote:
For me, that's an en-dash (U+2013 / '\8211').
I believe something on your box mangled the UTF-8 encoding.
Weird I did a cabal install and have
On 22 January 2011 17:04, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Saturday 22 January 2011 17:42:39, Aaron Gray wrote:
What's your locale?
Could also be that GHC tries to interpret UTF-8 in your locale and
barfs on that.
Not sure ? Vista's default.
Which
I am getting the following error when trying to do a show on a Ranges object
:-
C:\Languages\Haskellghci rangeTest.hs
GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package
On 11 January 2011 00:02, Antoine Latter aslat...@gmail.com wrote:
On Mon, Jan 10, 2011 at 5:23 PM, Aaron Gray aaronngray.li...@gmail.com
wrote:
On 10 January 2011 22:30, Henning Thielemann
lemm...@henning-thielemann.de
wrote:
John Lato schrieb:
You could use my word24 package[1
On 11 January 2011 18:54, Antoine Latter aslat...@gmail.com wrote:
On Tue, Jan 11, 2011 at 10:22 AM, Aaron Gray aaronngray.li...@gmail.com
wrote:
On 11 January 2011 00:02, Antoine Latter aslat...@gmail.com wrote:
On Mon, Jan 10, 2011 at 5:23 PM, Aaron Gray aaronngray.li...@gmail.com
On 10 January 2011 13:49, John Lato jwl...@gmail.com wrote:
From: Aaron Gray aaronngray.li...@gmail.com
On 9 January 2011 21:30, Henning Thielemann
lemm...@henning-thielemann.dewrote:
On Sun, 9 Jan 2011, Aaron Gray wrote:
I am trying to work out how to use GHC.Ptr, Foreign.Storable
On 10 January 2011 16:13, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Monday 10 January 2011 16:45:36, Aaron Gray wrote:
This is interesting, what does the following line do :-
data Int24 = I24# Int# deriving (Eq, Ord)
regarding the I24# and Int#, are these inbuilt
On 10 January 2011 16:36, Antoine Latter aslat...@gmail.com wrote:
On Mon, Jan 10, 2011 at 10:17 AM, Aaron Gray aaronngray.li...@gmail.com
wrote:
On 10 January 2011 16:13, Daniel Fischer
daniel.is.fisc...@googlemail.com
wrote:
On Monday 10 January 2011 16:45:36, Aaron Gray wrote
On 10 January 2011 22:30, Henning Thielemann
lemm...@henning-thielemann.dewrote:
John Lato schrieb:
You could use my word24 package[1] (GHC only) to provide non-aligned
24-bit word and int types with Storable instances. You should be able
to write a binary instance (or whatever
Hi,
I am trying to work out how to use GHC.Ptr, Foreign.Storable,
Data.Storable.Endian, and am looking for good examples of usage.
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On 9 January 2011 22:34, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
On Sun, 09 Jan 2011 14:48:09 +0100, Aaron Gray aaronngray.li...@gmail.com
wrote:
Hi,
I am trying to work out how to use GHC.Ptr, Foreign.Storable,
Data.Storable.Endian, and am looking for good examples of usage.
Many
On 9 January 2011 21:30, Henning Thielemann
lemm...@henning-thielemann.dewrote:
On Sun, 9 Jan 2011, Aaron Gray wrote:
I am trying to work out how to use GHC.Ptr, Foreign.Storable,
Data.Storable.Endian, and
am looking for good examples of usage.
What do you intend to do with them
On 10 January 2011 01:08, Antoine Latter aslat...@gmail.com wrote:
On Sun, Jan 9, 2011 at 6:05 PM, Aaron Gray aaronngray.li...@gmail.com
wrote:
On 9 January 2011 21:30, Henning Thielemann
lemm...@henning-thielemann.de
wrote:
On Sun, 9 Jan 2011, Aaron Gray wrote:
I am trying
I am trying to get a grammar where keywords are also valid identifiers.
Been messing round with the following Happy grammar :-
%token
'let' { TokenIdent let }
'in'{ TokenIdent in }
ident { TokenIdent $$ }
int { TokenInt $$ }
On 31 December 2010 13:21, Aaron Gray aaronngray.li...@gmail.com wrote:
I am trying to get a grammar where keywords are also valid identifiers.
Sorry working now !
Aaron
Been messing round with the following Happy grammar :-
%token
'let' { TokenIdent let
Is there an easy Haskell function that gets the last Char of a [Char] or
String ?
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
,
-Matt
On Dec 31, 2010, at 3:39 PM, Aaron Gray wrote:
Is there an easy Haskell function that gets the last Char of a [Char] or
String ?
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
I have attached a tiny parser and lexer.
This is really key to getting the lexing correct.
The only thing I could not get neatly was to disallow hyphens at the end of
identifiers, so have left it off until a good solution arrives.
I plan to move over to monads next.
Any comments welcome,
On 31 December 2010 21:26, Aaron Gray aaronngray.li...@gmail.com wrote:
I have attached a tiny parser and lexer.
This is really key to getting the lexing correct.
The only thing I could not get neatly was to disallow hyphens at the end of
identifiers, so have left it off until a good
Given a Haskell record type :-
data Test
= Test {
name :: String,
value :: Int
}
test = Test {
name = test,
value = 1
}
main :: IO ()
main = do
putStrLn (name test)
Are name and value in the global name
depends on
what you are doing.
Okay looks like name mangling with the datatypes name is in order then.
Something like :-
data Test
= Test {
testName :: String,
testValue :: Int
}
Thanks,
Aaron
--
Markus Läll
On Thu, Dec 30, 2010 at 7:01 PM, Aaron
at the record field disambiguation [1] extension to GHC.
It sounds like what you're looking for.
-deech
[1]
http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/syntax-extns.html#disambiguate-fields
On Thu, Dec 30, 2010 at 11:01 AM, Aaron Gray aaronngray.li...@gmail.com
wrote:
Given
What are these comments for in Happy ?
{-# SCC Mangler #-}
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 24 December 2010 23:58, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Saturday 25 December 2010 00:32:38, Aaron Gray wrote:
Okay great, works this end too, but what does the 'flip' do ???
It flips the order of arguments to calc. You could also write
main = getContents = print
On 24 December 2010 23:58, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Saturday 25 December 2010 00:32:38, Aaron Gray wrote:
Okay great, works this end too, but what does the 'flip' do ???
It flips the order of arguments to calc. You could also write
main = getContents = print
Hi Eugene,
I have been looking to do a ActionScript backend, it needs 24bit values.
Would it be possible to add some 24bit peeks and pokes, please.
Aaron
On 26 December 2010 11:13, Eugene Kirpichov ekirpic...@gmail.com wrote:
So I got around to it.
storable-endian 0.2.3 released, see code:
How do I code an 'instance' declaration for '(Show ([(String, Int)] -
Int))'.
I am new to instance declarations and am following the Happy examples :-
http://www.haskell.org/happy/doc/html/sec-using.html#sec-other-datatypes
The compiler is requesting an instance declaration for Show :-
On 24 December 2010 18:24, Henning Thielemann lemm...@henning-thielemann.de
wrote:
On Fri, 24 Dec 2010, Aaron Gray wrote:
The compiler is requesting an instance declaration for Show :-
expr-eval.hs:334:23:
No instance for (Show ([(String, Int)] - Int))
arising from a use
On 24 December 2010 22:07, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Friday 24 December 2010 22:47:55, Aaron Gray wrote:
On 24 December 2010 18:24, Henning Thielemann
lemm...@henning-thielemann.de
wrote:
On Fri, 24 Dec 2010, Aaron Gray wrote:
The compiler
Windows Haskell Platform download link goes nowhere :-
http://hackage.haskell.org/platform/windows.html
The Download Haskell for Windows is broken :-
http://lambda.galois.com/hp-tmp/2010.2.0.0/HaskellPlatform-2010.2.0.0-setup.exe
Aaron
___
Missing Parsec library :-
scheme.o(.text+0x4fa):fake: undefined reference to
`parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany1_closure'
scheme.o(.text+0x501):fake: undefined reference to
`parseczm2zi1zi0zi0_TextziPaserCombinatorsziParsecziChar_space_closure'
Could someone please point me at a copy of the latest Haskell platform or a
working GHC please.
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 22 December 2010 16:41, Don Stewart d...@galois.com wrote:
aaronngray.lists:
Could someone please point me at a copy of the latest Haskell platform
or
a working GHC please.
Many thanks in advance,
The links on haskell.org/platform should work (there was a domain
change, so
On 22 December 2010 16:27, Antoine Latter aslat...@gmail.com wrote:
What commands did you enter to produce this error?
ghc scheme.hs
I am still getting this on the 2010 2.0.0 release.
Aaron
Ahanks,
Antoine
On Wed, Dec 22, 2010 at 9:54 AM, Aaron Gray aaronngray.li...@gmail.com
wrote
,
Antoine
On Wed, Dec 22, 2010 at 10:36 AM, Aaron Gray aaronngray.li...@gmail.com
wrote:
On 22 December 2010 16:27, Antoine Latter aslat...@gmail.com wrote:
What commands did you enter to produce this error?
ghc scheme.hs
Aaron
Ahanks,
Antoine
On Wed, Dec 22, 2010 at 9:54 AM
On 22 December 2010 16:51, Daniel Fischer
daniel.is.fisc...@googlemail.comwrote:
On Wednesday 22 December 2010 16:54:04, Aaron Gray wrote:
Missing Parsec library :-
scheme.o(.text+0x4fa):fake: undefined reference to
`parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany
I have been trying to build the Scheme in 24 Hours on WikiBooks :-
http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours
http://jonathan.tang.name/files/scheme_in_48/code/listing10.hs
But I am getting an error :-
scheme.hs:289:6: `noMsg' is not a (visible) method of
On 21 December 2010 15:40, Henning Thielemann
schlepp...@henning-thielemann.de wrote:
Aaron Gray schrieb:
if I try importing them :-
import Control.Monad.Error (noMsg, strMsg)
I think it was moved to Control.Monad.Error.Class.
Great, importing Control.Monad.Error.Class does
Is it possible to implement a REPL (Read-eval-print loop) in Haskell ?
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 19 November 2010 22:14, Albert Y. C. Lai tre...@vex.net wrote:
On 10-11-19 04:39 PM, Matthew Steele wrote:
TAPL is also a great book for getting up to speed on type theory:
http://www.cis.upenn.edu/~bcpierce/tapl/
I am no type theorist, and I nonetheless found it very approachable.
On 17 November 2010 15:47, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
On Wed, 17 Nov 2010 01:39:40 +0100, Michael Litchard mich...@schmong.org
wrote:
I think I may have borked things good using cygwin. I want to remove
it and do a clean install of haskell platform w/out cygwin. What do I
On 11 November 2010 11:43, Petr Pudlak d...@pudlak.name wrote:
Thanks Dan, the book is really interesting, all parts of it. It looks like
I'll read the whole book.
Watch out for the decidability issue though :-
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.6.6483
Aaron
Is there a Flash ActionScript Byte Code generating backend for Haskell ?
I know there was an older SWF 3 backend :-
http://www.n-heptane.com/nhlab/repos/haskell-swf/
But is there anything more up to date ?
Aaron
___
Haskell-Cafe mailing list
On 27 October 2010 13:30, Martijn Schrage mart...@oblomov.com wrote:
On 21-10-10 01:01, Victor Nazarov wrote:
This example creates a text field that turns red if it contains any
non-digit characters. It is on-line at
http://tryout.oblomov.com/ghcjs/ghcjs.html (Note: I only tested it on
Does anyone have a Windows binary for the latest GHC darcs head or at least
October 8th they could send me.
Many thanks in advance,
Aaron
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi,
I am a Haskell newbie. I have coded a Regular Expression to Determinate
Finite Automata translator. Algorithm from the Dragon Book.
Would someone eyeball the code and give me suggestions please.
I have not done anything on character classes yet though. And the parsing is
a bit of a hack.
Hi,
I am relatively new to Haskell. I am attempting to get Typing Haskell in
Haskell to work on HUGS or GHC.
http://web.cecs.pdx.edu/~mpj/thih/
I am getting an error on loading SourcePrelude :-
Hugs :l SourcePrelude
ERROR .\PPrint.hs - Can't find imported module Pretty
And I cannot
57 matches
Mail list logo