Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (721 - 723 of 1030)

Ticket Resolution Summary Owner Reporter
#263 fixed Frameworks (whole FFI thing) are pain to use Gary Byers asdasd
Description

I'd be grateful if you made LISP beginners' (like me) life easier by distributing all neccessary .cdb files or whatever is needed to use Cocoa classes.

I've tried to use OS X AddressBook and unfortunately found that it is much harder than I anticipated.

Tutorial on Trac Wiki is very nice, but it does not mention how to load frameworks. It's hard to find requred information in the documentation unless one knows what to look for.

After entire evening of goolging I've collected dozen of code snippets that do not work, and managed to generate FFI files which need yet another tool to process and more lisp voodoo :(

#230 fixed Format ~F switches to scientific notation too soon Gary Byers Daniel Dickison
Description

ClozureCL seems to switch to scientific notation when doing format ~F before the number becomes too large or small.

Example:

CCL> (format t "~F" 0.0001)
1.0E-4  ;; Expected: 0.0001

From CLHS Section 22.3.3.1:

If w is omitted, then if the magnitude of arg is so large (or, if d is also omitted, so small) that more than 100 digits would have to be printed, then an implementation is free, at its discretion, to print the number using exponential notation instead, as if by the directive ~E (with all parameters to ~E defaulted, not taking their values from the ~F directive).

I read that to mean that if less than 100 digits would be printed, then it's required to use fixed point representation.

MCL 5.0 actually gets this right, so I/we/somebody might be able to merge code from MCL's Lib/format.lisp into CCL's file of the same name.

#836 invalid Format function handling of ~< ~> seems off Tom Emerson
Description

Consider the following:

(format nil "~<{~;~{~,3f~^, ~:_~}~;};~:>"
        (list (loop for x from 0 to 30 collecting (expt 1.065 x))))

Under sbcl and LW this puts 11 or 10 (respectively) numbers per line. On CCL (1.7-dev-r14672M-trunk) it does not, returning everything on a single line.

This is a pretty esoteric format string, and it's possible I'm completely misunderstanding what it should do, but I *think* CCL is doing something wrong.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.