4 Unanswered Topics
Remove Filter
|
|
Hey. I've been working on a home brew game since late last year, writing an engine in Haskell and GLSL that includes 3D graphics, basic physics and programmable game logic. The version in the second video shows the first appearance of lighting and importation of OBJ files (the cube was … |
|
Hi, My teacher asked us to do some exercises using haskell, one of these exercises asks us to implement a simple calculator, like this: The first input is an Integer N, which tells how many operands will be used, the following N inputs are the operands and the operators themselves, … |
|
Hello, i want a program which convert Dec,Char,String to Bin. but i got stucked in Char because i want to do 8 bit long list and if its not 8 long i put zeros in the front but something always wrong. import Data.Char (ord) toBinary :: Int -> [Int] toBinary … |
|
I am fairly new to Haskell and have been experimenting with data and class declarations. I have been trying to do this: [CODE=Haskell]data Fire = Burn | Ember data Water = Bubble | WaterGun class Elements a instance Elements Fire instance Elements Water data Elemental = Elemental { name :: … |
The End.