Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ckwolfe

Hello, I have an issue using Haskell's Command-Line args functionality. I'm writing a Typechecker for my parser and I need to be able to tell my program via command-line arguments that I can have at most x errors reported where x is: ./typechecker --number-of-errors=x test.cl This is the run-statement I …

Member Avatar for sepp2k
0
225
Member Avatar for ckwolfe

Hello I have a simple issue that is not a compilation or runtime issue, but an aesthetic problem that I can't find a function for. Basically I've created a GUI window that visually represents a game board for my Reversi gameboard. I've implemented the GUI and the Reversi gameplay and …

Member Avatar for mKorbel
0
6K
Member Avatar for ckwolfe

Hey, I'm a beginner at compiling (or interpreting) Haskell and some of the basic things are hard to do especially when theres not a lot of info out there for me to use. My question is, how do I run a test file after I have compiled? I compiler with: …

Member Avatar for ckwolfe
0
125
Member Avatar for ckwolfe

I am trying to read in a command-line argument like: >a.out memtest -b 4 -s 1000 And the intended result is to store "4" in the variable represented by -b and store "1000" in the variable represented by -s. I have the following code: [CODE]int main (int argc, char **argv){ …

Member Avatar for ckwolfe
0
297
Member Avatar for ckwolfe

Hello everyone, I've been doing a project for class in Haskell. Basically I've completed my program except some parts in my lexer function. I have functions marked undefined where I haven't completed it. [CODE]lexer :: String -> Pos -> [Token] lexer str pos = case str of x:xs | isSpace …

Member Avatar for Rashakil Fol
0
286
Member Avatar for ckwolfe

Hi, sorry my title isn't very explanatory. What I need to do is to access a variable from a main function, in another function without using a parameter to do so. Based on the nature of the problem you might see why I would do this. (if there is a …

Member Avatar for JamesCherrill
0
136