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 $$ }
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
*
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
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
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
18 matches
Mail list logo