Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (49 - 51 of 1630)

Ticket Resolution Summary Owner Reporter
#457 fixed srfi-18 time->seconds not returning seconds. Alan Post
Description

I'm running chicken from the experimental branch on OpenBSD 4.8.

I'm using the time-related routines in srfi-18.

The following program:

$ csi
#;1> (use srfi-18)
; loading library srfi-18 ...
#;2> (time->seconds (seconds->time 2))
2000000.0

I would expect the output of the conversion to be symmetrical, where if I give (seconds->time) a 2, converting the time back to seconds using (time->seconds) should return 2. (probably 2.0) Instead this call is returning the microseconds.

I would love to see srfi-18 extended to have a (time->microseconds) and (microseconds->time) procedures, as I love having time resolution at this scale. This could also, of course, be fixed by scaling the real number returned from these routines.

#459 fixed -picky shouldn't warn when other path also returns an undefined value? Alan Post
Description

I'm not sure this issue can be fixed, but here it goes:

The following code:

(define (foo)
  (if condition (for-each (lambda x x) '(0 1 2))))

when compiled with '-picky', gives the following warning:

Warning: in toplevel procedure `foo':
  conditional in tail-position has branch with undefined result:

(if condition (let (... ...) (let ... ...)) (##core#undefined))

However, the other branch *also* returns an undefined result, making this particular warning a no-op in this case.

I would expect to not see this error when both branches return the same result.

Is this condition detectable?

#461 fixed undefined symbol compiling genturfa'i after updating Chicken Alan Post
Description

I'm running Chicken from the experimental branch. After updating to 806bdb60d143712646a07ae891101a11a1511ab6, I try to install the genturfa'i egg and I get the following error:

/opt/chicken-master/bin/csi:/opt/chicken-master/lib/chicken/5/genturfahi.so: undefined symbol 'C_srfi_2d1_toplevel' lazy binding failed! Segmentation fault (core dumped)

This is the genturfah'i egg r22075.

Do I need to add or remove an srfi declaration? I'm not sure what behavior in Chicken changed and whether I'm seeing a bug introduced in Chicken or whether a fix in Chicken introduced a bug in my code.

Note: See TracQuery for help on using queries.