9 Topics
|
|
Hi, I'm really, *really* new to Haskell. I'm practicing with simple online questions and there's a hcf question which I found the answer to online(http://snipplr.com/view.php?codeview&id=11973) but I still don't understand the coding. I'm not sure if this kind of question is accepted in Daniweb but yeah. Could someone please explain … |
|
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 … |
|
I am trying to learn a bit of Haskell but I am having some problems with understanding how to make programs with pow*. For example I have to create the following program: What the program does is 1+2(pow2)+3(pow2)+n(pow2) and then to make sure that n is positive number. If someone … |
|
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, … |
|
Hi all, i need a little help for haskell. i try to make a program which makes the romans numbers in a good form, so for example if u put in [I,I,I,I] it change it to [I,V] but something always wrong with the patterns :( what did i wrong? data … |
|
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 … |
|
hi i m new to Haskell, i need help in the deposit money in this simple atm bank system the problem shown during enter amount on deposit" Program error: Prelude.read: no parse" below is the code.Please help.Thank you [CODE]import System.IO start :: IO () start = do putStrLn "------------------" putStrLn … |
|
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 :: … |
|
I've never used Haskell before and I'm struggling with the IO side of things. The code I'm writing, yes, is for a Uni assignment, and for that reason I'm not putting my whole code on here in case I get complained at for one of the many plagiarism clauses... so … |
The End.