|
BangersInMyKnickers posted:Alright, really dumb and most likely easy HTML question, but I don't know much of any html and our web guy doesn't know how to do this off the top of his head: CSS: code:
code:
edit: table breaking is always fun.
|
# ¿ Mar 14, 2008 21:16 |
|
|
# ¿ May 2, 2024 21:40 |
|
Bonus posted:I am currently running GHCi on Windows, the version is 6.8.2 and I seem to be missing some functions that I find around in various Haskell references. For example when I try using nub, sort, or groupBy it says that they're not in scope. It looks like about 25% of functions are missing. Am I using an older version or do I have to import some modules for those functions to work or what? The three functions you mentioned are all in Data.List. To import modules in GHCi you use :m +<name>.
|
# ¿ Apr 5, 2008 15:06 |
|
The first line of the loop is for i in `seq 0 1000000`, and you need spaces before the ]s (also, you might want to use elif instead if fi/if). Otherwise, what poopiehead said. Edit: I can't read. Edit 2: vv Use `seq 0 20 1000000`. 10011 fucked around with this message at 02:07 on May 13, 2008 |
# ¿ May 13, 2008 02:03 |
|
PT6A posted:Is there any way to get sh, in the context of a shell script, to interpret a given string as a variable name. I'm trying to do an assignment like: eval "var1=\$$var2" works, but I'm sure there's a better way.
|
# ¿ Oct 1, 2008 17:04 |
|
You can use GHCi for debugging, which would be simpler than trying to coax gdb into it. I don't know about Hugs or whatever, though.
|
# ¿ Nov 17, 2008 12:27 |
|
|
# ¿ May 2, 2024 21:40 |
|
I don't know C# that well, but a Dictionary<char, int> would work, with something likecode:
|
# ¿ Jan 13, 2009 10:18 |