From nickle at po8.org Fri Mar 2 10:54:36 2007 From: nickle at po8.org (Bart Massey) Date: Fri, 02 Mar 2007 10:54:36 -0800 Subject: [Nickle] import File and String by default? Message-ID: I don't know any good reason why Nickle doesn't currently have File and String imported by default; it's really annoying IMHO. Unless someone can give me a good reason not to, I'm going to commit the change to do this... Bart From nickle at po8.org Sun Mar 18 02:08:04 2007 From: nickle at po8.org (Bart Massey) Date: Sun, 18 Mar 2007 02:08:04 -0700 Subject: [Nickle] Removed archaic "v" printing and scanning functions; buglet remains Message-ID: After talking over with Keith, I concluded that vfprintf(), vfscanf(), and friends are no longer particularly useful in Nickle. The new syntax for expanding arguments does the same job. So I removed the "v" functions. This is not quite a backward-compatible change. If you had code that looked like void myfn(string fmt, poly args ...) { vprintf(fmt, args); } you now need to modify it to look like void myfn(string fmt, poly args ...) { printf(fmt, args ...); } This is easier to read, and avoids some maintenance problems. Sadly, there appears to be a slight prettyprinting buglet left. Try invoking abort("%d", 1) at the command line, and notice that in some parts of the stack trace the second argument is elided. Bart