[Haskell-cafe] Indentation problem using Happy

2011-09-30 Thread Amy de Buitléir
I'm trying to use Happy for the first time, and I'm having trouble with this very simple example: = BEGIN: PolyParser.y = { module Main where import Char ( isAlpha, isDigit, isSpace ) } %name calc %tokentype { Token } %error { parseError } %token id { TokenId $$ }

[Haskell-cafe] Handy abbreviations for using SciTE with Haskell

2011-09-30 Thread Amy de Buitléir
I often use SciTE for editing Haskell code. I wanted an easy way to type symbols such as ∀ (instead of forall), so I created a properties file that allows me to do that. I haven't seen anything similar online (I Googled first), so I made the code available online. You can find the file and

[Haskell-cafe] How can I get rid of this link error?

2011-11-11 Thread Amy de Buitléir
I wrote a library called AmysGeometry. The only modules in it (so far) are: Amy/Geometry/ThreeD.hs Amy/Geometry/UnitSphere.hs The library compiles just fine, and I've been using it with other programs for a while. Then yesterday, I started getting the following error. Linking

Re: [Haskell-cafe] How can I get rid of this link error?

2011-11-11 Thread Amy de Buitléir
Tom Nielsen tanielsen at gmail.com writes: have you tried cabal clean before cabal install ? Yeah, forgot to mention that I'd tried that. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANNOUNCE: grid-1.1

2012-09-06 Thread Amy de Buitléir
I'm happy to announce a new package called grid: http://hackage.haskell.org/package/grid https://github.com/mhwombat/grid/wiki (wiki) Grid provides tools for working with regular arrangements of tiles, such as might be used in a board game or self-organising map (SOM). Grid currently

Re: [Haskell-cafe] ANNOUNCE: grid-1.1

2012-09-06 Thread Amy de Buitléir
Paul Visschers mail at paulvisschers.net writes: Looks nice. Does it scale well to millions of elements, and can it handle 3D? The current implementation wouldn't scale well to millions of elements, but it shouldn't take much tweaking to support that. Currently, when a grid is constructed, the

Re: [Haskell-cafe] ANNOUNCE: grid-1.1

2012-09-06 Thread Amy de Buitléir
It seems like you should be able to stick this behind some abstraction so that you can support multiple implementations for grids (i.e., currently storing indices as you mention, but could support other implementations with different trade offs ...)? kris Yes, there's a Grid typeclass

Re: [Haskell-cafe] ANNOUNCE: grid-1.1

2012-09-06 Thread Amy de Buitléir
Brent Yorgey byorgey at seas.upenn.edu writes: Looks neat! By the way, the URLs within the Haddock documentation are formatted improperly... Cheers! I'll fix that. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] ANNOUNCE: grid-2.0

2012-09-19 Thread Amy de Buitléir
I'm happy to announce a new major release of the grid package: http://hackage.haskell.org/package/grid https://github.com/mhwombat/grid/wiki (wiki) WHAT'S NEW: The GridMap module provides ordered maps from tiles on a grid to values. This module is a wrapper around Grid and Map, in order

[Haskell-cafe] ANNOUNCE: som-1.0

2012-09-19 Thread Amy de Buitléir
Do you have some data that you'd like to understand better? I'm happy to announce a new package called som that may help: http://hackage.haskell.org/package/som https://github.com/mhwombat/som/wiki (wiki) A Kohonen Self-organising Map (SOM) maps input patterns onto a regular grid

[Haskell-cafe] ANN: gray-extended (tools for working with Gray codes)

2013-01-25 Thread Amy de Buitléir
I'm happy to announce a new package called gray-extended http://hackage.haskell.org/package/gray-extended-1.2 https://github.com/mhwombat/gray-extended (github) ABOUT GRAY-EXTENDED: Gray codes satisfy the property that two successive values differ in only one digit. Usually the term

[Haskell-cafe] ANNOUNCE: creatur (framework for artificial life)

2013-01-25 Thread Amy de Buitléir
I'm happy to announce a new package called Créatúr (creatur) http://hackage.haskell.org/package/creatur https://github.com/mhwombat/creatur-examples/raw/master/Tutorial.pdf (tutorial) https://github.com/mhwombat/creatur (github) ABOUT CRÉATÚR: Créatúr is a software framework for

[Haskell-cafe] Subject: ANNOUNCE: grid-3.0.1 (tile maps for board games or maths)

2013-02-18 Thread Amy de Buitléir
I'm happy to announce a new major release of the grid package: http://hackage.haskell.org/package/grid https://github.com/mhwombat/grid/wiki (wiki) WHAT'S NEW: Functions for reporting the boundary and centre of bounded grid have been added, along with some miscellaneous new utility

Re: [Haskell-cafe] Subject: ANNOUNCE: grid-3.0.1 (tile maps for board games or maths)

2013-02-19 Thread Amy de Buitléir
Twan van Laarhoven twanvl at gmail.com writes: After taking a peek at the documentation: have you considered removing the size function from Grid? . . . It might also be useful to add a rectangular grid type where diagonally adjacent cells are also neighbors. . . . Another interesting idea

[Haskell-cafe] ANNOUNCE: grid-4.0 (tile maps for board games or maths)

2013-03-08 Thread Amy de Buitléir
I'm happy to announce a new major release of the grid package: http://hackage.haskell.org/package/grid https://github.com/mhwombat/grid/wiki (wiki) WHAT'S NEW: * The package now uses associated (type) synonyms instead of multi-parameter type classes with functional dependencies. *

Re: [Haskell-cafe] Overloading

2013-03-09 Thread Amy de Buitléir
Also again, taking this way I can not provide several constructors taking inputs of different types, can I ? You can have multiple constructors, taking different numbers and types of input parameters, yes. ___ Haskell-Cafe mailing list

[Haskell-cafe] ANNOUNCE: grid 5.0

2013-05-04 Thread Amy de Buitléir
I'm happy to announce a new major release of the grid package: http://hackage.haskell.org/package/grid https://github.com/mhwombat/grid/wiki (wiki) WHAT'S NEW: * Octagonal grids (just the thing for tiling that hyperbolic bathroom floor!) * Want to use the square grid, but need diagonal

[Haskell-cafe] ANNOUNCE: som-4.0 (for data analysis and visualisation)

2013-06-07 Thread Amy de Buitléir
Do you have some data that you'd like to understand better? I'm happy to announce a new release of a package called som that may help: http://hackage.haskell.org/package/som https://github.com/mhwombat/som/wiki (wiki) A Kohonen Self-organising Map (SOM) maps input patterns onto a regular