9 Topics

Member Avatar for
Member Avatar for nadiam

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 …

Member Avatar for cereal
0
213
Member Avatar for Mushy-pea

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 …

0
297
Member Avatar for thenewguy1

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 …

Member Avatar for sepp2k
0
280
Member Avatar for modesto916

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, …

0
124
Member Avatar for nyuszi

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 …

Member Avatar for sepp2k
0
176
Member Avatar for nyuszi

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 …

0
114
Member Avatar for kinyee

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 …

Member Avatar for argg
0
228
Member Avatar for deathsandwich

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 :: …

0
86
Member Avatar for Smitty83

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 …

Member Avatar for Rashakil Fol
0
131

The End.