Hi I am new to SML.
I need to write a program that checks target words in a text file against a dictionary of correct spellings.
If the target word is in the dictionary, it is output to the s...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Since CoderForums was bought out by HostRocket, the community has stagnated. If you need programming help but aren't finding it here, head on over to CoderBoards at http://coderboards.webhop.org ....
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hey fellows,
I am new to DrScheme and I have this assignment about making graphical user interface using DrScheme..
(define pic1 <add image>)
(define pic2 <add image>)
(define pi...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi guys!!! I got another question for ya. I have 2 functions defined, one called subset? and set-equal?. here is some code for them.
Code:
(define subset?
(lambda (e r)
(cond ((nu...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Suppose I have some class Toona and I would like to declare a Boolean tuple as an instance of Toona. So here is my question. Is this valid haskell code?
instance (Bool u,Bool v) => Toona (u,v) ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I am trying to make this function (primeList n) where n = some integer.
This function should then return a list of ordered pairs, each pair consisting of an integer and the string "prime&quo...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hey guys!!! im having trouble with scheme. the teacher gave us some sample code.
Code:
(define member?
(lambda (e S)
(cond ((null? S) #f)
((eq? e(car S)) #t)
(e...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi, I have just pick up this language and still learning the basics of it. I happened to came across a prolog question:
"To get started We need to assert primes([2]).Write a predicate start t...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
listCompare :: [Int]->[Int]->Int
listCompare (a:as) (b:bs)
| a==b = a
| a>b = listCompare (a:as) (bs)
| b>a = listCompare (as) (b:bs)
leastCommonMult :: Int->Int->In...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi to all, I'm using DrScheme.
If i have something like this:
Code:
(open-input-file filename)
It will open a file and let me use it... but.. if the filename is incorrect, the progr...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi,
I'm writing a Scheme interpreter in Scheme, and I've encountered the following problem:
I want to interpret a list of symbols, where the first element is a binary operation, and the next tw...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Greetings.
I have the following problem set.
Quote:
Trailing List Elements
Implement a function removeTrailing of type int * int list -> int list. The evaluation ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hi guys!! im messing around with scheme and im trying to learn how to use the draw-polygon function. I was looking at the code and didn't understand one of the arguments
so, the structure of the c...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello all I am a newbie to SML and this forum I only started programming in SML about a week ago. I am trying to write a program to solve all the possible solutions to the 8 queens problem but I keep ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hi guys!!! i just came across this forum looking for some scheme tutorials. This site looks cool and very helpful just by looking at some other threads.
I have a problem with scheme though. I am t...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Recently in my computer science class, we pretended that scheme had not implemented numbers and we had to create different functions such as add, subtract, etc with a number system we created which ba...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
i am writing a set module as an abstract data type implemented as an ordered list:
module Set
(
Set, -- type constructor
emptySet, -- Ord a => Set a
addElement, -- ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello,
I' a Haskell Newbie and i need some help about a function..
My problem is to update a list of values in Runtime.
For example i have a initial list:
list1="a"
and a func...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello Guys
Listen, I am currently on a school project and I need to make something the sort of WINZIP, and I have to start to read from the file byte by byte...
There is a predefined function...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi,
Im a beginner in Scheme and I really need help. Im trying to return the average of a complex list of numbers.
So basically its just adding the numbers in a list and dividing by the number of...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I have been wondering for a while what Haskell is for. Does it have any specific uses, or is it an all around language?...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Just wondering if there is an easy way of doing this in Haskell. Just fewer lines:
I have two data types, and some other functions which are immaterial to the actual question.
The following ar...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi.
Slowly (VERY slowly, in fact) continuing my trip in the world of Lisp, I've got that error more than once when defining functions :
(PUSH (CAR LST2) LST1) should be a lambda expression
W...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
This may be more of a problem with clisp thant with the language itself, but here goes.
I have the following dumb script :
Code:
#!/usr/bin/clisp
(defun isinlist (lst elm)
(if (eql (car ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hey. I'm trying to write a function (really, a set of functions) to return all substrings of a given string. I have what you say see below so far, but it isn't elegant.
Code:
(* All substri...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine