# Search:

Type: Posts; User: scarface; Keyword(s):

## Search: Search took 0.01 seconds.

by scarface
Replies
7
Views
12,128

### thanx trinithis i will have a look at that later....

thanx trinithis i will have a look at that later. And people, stop uploading whole courseworks on here waiting for answers. What i do is i try the exercises my self, search the web if i cant get it...

by scarface
Replies
7
Views
12,128

### funny thing is Twey, i tried that code for...

funny thing is Twey, i tried that code for removal of tail and it does not work. I did it exactly as i did the one for head(assigning the links for tail this time) but it didnt remove my last item. ...

by scarface
Replies
7
Views
12,128

### say that i only wanted to remove either the head...

say that i only wanted to remove either the head or tail of a list. I got this code for removing the head and it works

{

by scarface
Replies
7
Views
12,128

hi people, i am have trouble with one method that should delete an element from a doubly linked list.

thats what i got so far

public void delete(Object info) {
DLNode node1 =...

by scarface
Replies
43
Views
77,230

### well this is a coursework we have been given for...

well this is a coursework we have been given for a functional programming module we are doing. i study in london. if some1 in russia is doing same exercise then maybe teachers have some source from...

by scarface
Replies
43
Views
77,230

### i just cant seem to get my head round this...

i just cant seem to get my head round this haskell language.. i have been doing reading on internet but it is still confusing..so i am trying to get help from somewhere :)

by scarface
Replies
43
Views
77,230

### hi, its me again with a question. I have a...

hi, its me again with a question. I have a function

multAdd (Plus(Mult(Const x)(Const y))(Const z)) = (x * y) + z
which multiplies 2 integers and adds a third integer...

by scarface
Replies
43
Views
77,230

### i am using WinHugs - haskell 98 interpreter

i am using WinHugs - haskell 98 interpreter

by scarface
Replies
43
Views
77,230

### do u know why it doesnt let me load the...

do u know why it doesnt let me load the data.function module?
I typed it exactly as posted and it gave me error saying i cant find the module.

by scarface
Replies
43
Views
77,230

### Thanks for the code but i think i will just stick...

Thanks for the code but i think i will just stick to my function. I am pretty bad at haskell and i dont completely understand the code you gave so i rather not use it (in case i get asked questions...

by scarface
Replies
43
Views
77,230

### yes i was just giving example with the...

yes i was just giving example with the multiplication to make it clearer..also is there a way to add the 2 Expr together in case they are both Const? example : if we have Plus(Const 2)(Const 5) = 7....

by scarface
Replies
43
Views
77,230

### thnx for the code i will try it later when i come...

thnx for the code i will try it later when i come back home..actually i have done a mistake..not 1+x but rather 1*x = x..i apologize for the confusion :(..

by scarface
Replies
43
Views
77,230

Hi people, i have some haskell problems with expressions. What i am trying to do is add two expressions together and simplify the output. I have this code

module X where

type Variable =...

by scarface
Replies
1
Views
2,028

### regression testing is basically when you re-run...

regression testing is basically when you re-run all the previously done tests. This is when you add new code to your program.You have to test everything again to make sure the new piece of code is...

by scarface
Replies
8
Views
5,254

### ok thanx Twey..i will just stick to toLower...

ok thanx Twey..i will just stick to toLower then..1 more thing, i tried out Trinithis' code and it works great..after that i went to try and include the code Twey posted earlier "orderWords = unwords...

by scarface
Replies
8
Views
5,254

### hi again, i was wondering if i can use a function...

hi again, i was wondering if i can use a function i have defined in the place of (map toLower..) instead of map toLower can i have something like map minimize if i have defined minimize to put all...

by scarface
Replies
8
Views
5,254

hi all again from me, the haskell newbie. I again need some help with haskell and one exercise. It basically states to count the number of times each word occurs in a string. What i am doing is I...

by scarface
Replies
14
Views
35,334

### hi, all you need to write is : orderWords ::...

hi, all you need to write is :

orderWords :: String -> String
orderWords = unwords. sort. words

copy and paste that code and see whether it works..if it gives you some error include

import...

by scarface
Replies
14
Views
35,334

### thank you Twey. Was really helpful, got that...

thank you Twey. Was really helpful, got that thing done now.

And ye NXArmada didn't help me much(not at all)