Copperbox revision 2757.
More work on built-ins.
Csound's built-in functions like abs and the trig functions have quite a nice implementation - as they are monomorphic we can overload them in Haskell and still generate good types in the embedded language. Unfortunately opcodes don't work as well - we need a class per opcode if we want overloading. At the moment we use subscripts on the opcode name instead - an opcode ends in A if it generates an A-rate signal, K if it generates a K-rate signal.
Wednesday, May 2, 2012
Tuesday, May 1, 2012
wumpus-basic
Copperbox revision 2752.
Updated to work with GHC 7.4.
Mostly the changes are to type families, probably these would work better as functional dependencies but I don't want both in the same project. I suspect the changes mean Wumpus-Basic now only works with GHC 7.4.1 and above.
Updated to work with GHC 7.4.
Mostly the changes are to type families, probably these would work better as functional dependencies but I don't want both in the same project. I suspect the changes mean Wumpus-Basic now only works with GHC 7.4.1 and above.
wumpus-core
Copperbox revision 2751.
Updates to work with GHC 7.4.
Renamed the internal format combinator (<>) to (><), this avoids name clashes with the new monoid alias.
Updates to work with GHC 7.4.
Renamed the internal format combinator (<>) to (><), this avoids name clashes with the new monoid alias.
Subscribe to:
Comments (Atom)
Blog Archive
About Me
- Stephen Tetley
- Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.