Re: Generalized-Arrays egg v1.0.1

2024-02-06 Thread John Cowan
I now understand that chicken's srfi-143 egg has a different spec from actual SRFI-143; in particular, the egg's procedures are variadic, whereas the SRFI's procedures were intended not to be. Unfortunately, the SRFI specifies =, <, etc. to be variadic instead of dyadic as a result of cut and

Re: Generalized-Arrays egg v1.0.1

2024-02-03 Thread John Cowan
On Sat, Feb 3, 2024 at 5:39 PM Jeremy Steward wrote: Likewise, I opt to use (chicken fixnum) but this is > because I discovered that SRFI-143 is so egregiously slower than > (chicken fixnum) that it was causing serious performance regressions in > many of the array APIs. > That's very odd. The

Re: cannot open file if name contains accented characters

2023-12-25 Thread John Cowan
On Mon, Dec 25, 2023 at 6:07 AM wrote: > I'm not too familiar with the way Windows handles non-ASCII characters > in operating system calls, but I assume that what gets passed to the C > library runtime functions like fopen(3), etc. assumes a particular > encoding. > Basically, there are two

Re: How best to get a default result from sqlite3, or to use or not use first-result?

2022-06-08 Thread John Cowan
IMO this is an excellent application for folding. On Wed, Jun 8, 2022 at 10:54 AM Matt Welland wrote: > The problem: retrieve one value from a query, if there is no matching > row return a default. > > Method 1: use for-each-row, overwrite the default with found values > Method 2: use

Re: chicken 5.3.0 - improving POSIX test on Cygwin platform

2022-03-21 Thread John Cowan
On Mon, Mar 21, 2022 at 5:19 AM wrote: > Sorry for the overly late reply. I'm not too familiar with cygwin, what > should the tests report here? The cond-expand for "windows" should trigger > on cygwin, how is it handling the permission bits (as compared to "raw" > Windows systems)? Does it

Re: Chicken 5 on Cygwin

2022-03-07 Thread John Cowan
On Mon, Mar 7, 2022 at 3:07 AM Peter Bex wrote: > > I think it's the Cygwin project. We are only responsible for ensuring > that it builds and runs correctly on Cygwin. But I'm sure they'll > accept a patch if one of us sends it to them. > > The real problem is keeping it up to date. Just

Re: Conditional include

2021-07-18 Thread John Cowan
On Sun, Jul 18, 2021 at 10:16 AM Lassi Kortela wrote: > R6RS implementations have a convention of appending the implementation's > name to the filename. > Best of all is the R7RS solution: > Oh, absolutely. I didn't choose those four for no reason. I wanted a pure R7 system, an R5+ system

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread John Cowan
On Sun, Jul 18, 2021 at 7:43 AM wrote: > Anybody for a "-r7rs" option that does the above? > I'd love to see that. Lassi: The fact that different Schemes have different conventions for where their library files are is actually a great convenience to me when developing SRFIs. All the actual

Re: Actor model implementation, seeking feedback

2021-06-26 Thread John Cowan
On Sat, Jun 26, 2021 at 2:38 PM Vasilij Schneidermann wrote: > 2. Cool that you use tweetnacl for encryption, but please don't use > random numbers for nonces, that's just wrong. Nonces are not supposed to > be secret, random or unpredictable, but unique numbers that do not > repeat. Random

Re: SRFI-144 - initial port

2021-04-19 Thread John Cowan
It would be great to use (chicken flonum) and, where necessary, direct FFI calls and see if they are faster. I was quite surprised when the Larceny Scheme procedures were faster than the C ones, but from what I understand, Larceny's FFI is expensive. On Sun, Apr 18, 2021 at 3:41 PM Diego wrote:

Re: Chicken GUI options survey and questions.

2021-03-05 Thread John Cowan
On Fri, Mar 5, 2021 at 10:53 AM Matt Welland wrote: > * pstk (probably not really an option, ancient look/feel). > Don't dismiss Tk too fast. Here are the reasons Larry McVoy of BitMover gives for using it in the GUIs of his company's products: This question gets raised at least once a year

Re: New egg: SRFI-87: => in case clauses

2020-11-22 Thread John Cowan
Since the content of SRFI-87 is built in to the current Chicken, #:srfi-87 should be added to the output of `features` in (chicken-platform). On Sun, Nov 22, 2020 at 3:16 AM Mario Domenech Goulart wrote: > On Sat, 21 Nov 2020 16:40:21 -0800 wrote: > > > On Sat 21 Nov 2020 09:28:10 PM +01,

Re: New C5 egg: SRFI-145: Assumptions

2020-11-09 Thread John Cowan
FWIW, SRFI 158 is fully downwardly compatible. On Mon, Nov 9, 2020 at 1:40 PM Mario Domenech Goulart wrote: > Hi Jeremy, > > On Mon, 09 Nov 2020 10:13:19 -0700 Jeremy Steward > wrote: > > > Ooh boy, is SRFI 158 ready to go? > > > > If that's the case, should we deprecate / remove SRFI 121 from

Re: Some questions about concurrency (mostly)

2020-11-07 Thread John Cowan
re not run, as the thread is supposed to be unaware that the switch happened. John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Would your name perchance be surname Puppet, given name Sock? --Rick Moen

Re: New Egg: SRFI-151

2020-08-08 Thread John Cowan
be regarding the license, which AFAIK should be > > MIT. John Cowan would be able to clarify that. > > I went through the license comments in these files and bitwise-60.scm > and bitwise-core.scm have a license which is identified in the CHICKEN > wiki as „Free Use” (I ha

Re: Tidy way to test and set when using test egg?

2020-01-10 Thread John Cowan
Mixing definitions and expressions in a block isn't actually legal Scheme, though it does work in Chicken. All defines are supposed to come first and all expressions afterwards. Since the test library is shared with Chibi, and since Chibi doesn't allow this extension, I can't see adding this to

Re: Trying to understand chicken limitations

2019-12-22 Thread John Cowan
Procedures and code files that contain both Scheme and C must be compiled, but the resulting compiled code can be loaded into the environment and invoked from the interpreter. Obviously pure C files must be compiled by a C compiler. On Mon, Dec 23, 2019 at 12:20 AM Iain Duncan wrote: > > >

Re: Trying to understand chicken limitations

2019-12-22 Thread John Cowan
t; You can evaluate anything that doesn't need access to the foreign function interface. John Cowan http://vrici.lojban.org/~cowanco...@ccil.org To say that Bilbo's breath was taken away is no description at all. There are no words left to express his staggerment, since Men changed the la

Re: Trying to understand chicken limitations

2019-12-22 Thread John Cowan
rogram.) Guile is designed for embedding. As for S7, I would use Chibi instead: it's more modern and probably faster. John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Economists were put on this planet to make astrologers look good. --Leo McGarry >

Re: RAM usage of applications?

2019-11-30 Thread John Cowan
ng at the time, but there are other Windows/Cygwin > programs, the Chicken program would be 12KB + 3.4MB on top of those. > That's my situation while running this program. John Cowan http://vrici.lojban.org/~cowanco...@ccil.org The first thing you learn in a lawin' famil

Re: RAM usage of applications?

2019-11-30 Thread John Cowan
S version; Chicken provides the same interface on Posix and on Windows, but much of it (fork, obviously) will throw runtime exceptions on Windows. Of course, Windows itself is also in DLLs. Chicken does not have a run-on-bare-metal option; it depends on the presence of either Posix or Windows. J

Re: RAM usage of applications?

2019-11-30 Thread John Cowan
will add to that. > The Scheme program (print "Hello world") compiled on Windows and stripped produces a 12K executable. Chicken, like many other Schemes but Common Lisp, is modularized: if you don't use a feature (within reason) it is not included. John Cowan http://vrici.

[Chicken-users] Changing the chickadee home page to C5

2019-07-28 Thread John Cowan
Currently chickadee.call-cc.org and api.call-cc.org redirect to api.call-cc.org/4/doc. This grows more inappropriate with every new release of Chicken 5, indeed with every day that passes. It's time to change it, I think, to redirect to api.call-cc.org/5/doc instead. In addition, there should

Re: [Chicken-users] thoughts on alternate "posits" / "unums" instead of traditional floats?

2019-07-09 Thread John Cowan
odified C compiler and/or FPU would be the way to go > for this. Hardware support for posits will come shortly after the Devil dies of exposure. John Cowan http://vrici.lojban.org/~cowanco...@ccil.org What asininity could I have uttered that they applaud me thus? --Ph

Re: [Chicken-users] SRFI-38 notation

2019-07-04 Thread John Cowan
https://raw.githubusercontent.com/ashinn/chibi-scheme/master/lib/srfi/38.scm is public domain, uses a hash table, and should be reasonably portable. You'll need to remove the references to read-object, which are a Chibi-specific lexical extension providing record literals. On Thu, Jul 4, 2019 at

Re: [Chicken-users] [ANN] CHICKEN 5.1.0 release candidate available

2019-06-09 Thread John Cowan
llation works?: yes > Tests work?: can't tell, see below > Installation of eggs works?: yes > The output of "make test" was over 20,000 lines, some of which do have the string "fail" in them. I've posted it at <http://vrici.lojban.org/~cowan/faulty&

Re: [Chicken-users] for those who have interest in procedure objects decoration

2019-05-22 Thread John Cowan
nd => to macros that throw an error, so that you can safely rebind them as ordinary variables if you want to. <https://lists.nongnu.org/mailman/listinfo/chicken-users> John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Humpty Dump Dublin squeaks through his norse

Re: [Chicken-users] Back from the dead: pstk

2019-02-26 Thread John Cowan
If it's not too hard, you might want to extract your changes from your new git repo, drop the repo, use reposurgeon (a general VCS converter and editor), and reapply your changes. That way the history is preserved and you don't need multiple repos. On Tue, Feb 26, 2019 at 8:49 AM wrote: >

[Chicken-users] Tangerine Edition final results available

2019-02-02 Thread John Cowan
of them) except the prime number library at < https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/PrimesGauche.md>. There was also a one-vote majority against the TalliesCowan (descriptive statistics) library, but as there is a volunteer to implement it, I'll leave it on the docket for

Re: [Chicken-users] [scheme-reports-wg2] Re: Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-19 Thread John Cowan
as always seemed to me the only practical approach. That said, SRFIs often do refer to existing implementations, or implementations of languages other than Scheme. > > On Thu, Jan 17, 2019 at 5:15 PM Per Bothner wrote: > > > > On 1/16/19 6:27 AM, John Cowan wrote: > > >

Re: [Chicken-users] R7RS large library aliases

2019-01-18 Thread John Cowan
Sounds good to me! On Fri, Jan 18, 2019 at 11:23 AM Peter wrote: > > The trouble is that the SRFIs are finalized before we know which ones > will > > become part of R7RS-large, in some cases decades before. Currently the > > SRFI process doesn't allow correcting anything except outright errors

Re: [Chicken-users] R7RS large library aliases

2019-01-18 Thread John Cowan
The trouble is that the SRFIs are finalized before we know which ones will become part of R7RS-large, in some cases decades before. Currently the SRFI process doesn't allow correcting anything except outright errors of an editorial nature, except in extremely rare cases. On Fri, Jan 18, 2019 at

Re: [Chicken-users] Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-17 Thread John Cowan
: If you believe in "small is beautiful," then what is your motivation for including anything beyond BITWISE-NAND? Quant. suff. -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org You are a child of the universe no less than the trees and all

Re: [Chicken-users] Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-16 Thread John Cowan
Sorry, left out the voting link this time: it's http://tinyurl.com/tangerine-ballot for the vote, and http://tinyurl.com/orange-straw-poll for the Orange Edition straw poll (guidance to the editor on what should appear in the next poll). On Wed, Jan 16, 2019 at 9:27 AM John Cowan wrote: > W

[Chicken-users] Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-16 Thread John Cowan
than less, as with the Red Edition. This encourages me that I'm going in a sensible direction with the large language. -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org It was dreary and wearisome. Cold clammy winter still held sway in this forsaken country. The

[Chicken-users] Change to SRFI under ballot: u1vectors removed from SRFI 160

2019-01-12 Thread John Cowan
I have sent a request to the SRFI Editor to remove all references to u1vectors (bitvectors) from SRFI 160, which is a part of the Tangerine Edition ballot. This is being done not because they are not useful, but because they are different enough in both specification and implementation from the

Re: [Chicken-users] Voting on the Tangerine Edition of R7RS-large begins!

2018-12-15 Thread John Cowan
, or the Steering Committee. Otherwise you only have to care about Scheme standardization. Please vote! -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Said Agatha Christie / To E. Philips Oppenheim "Who is this Hemingway? / Who is this Proust? Who is this Vla

[Chicken-users] Voting on the Tangerine Edition of R7RS-large begins!

2018-11-25 Thread John Cowan
d into SRFIs and which should not. Ones that are already SRFIs or which have simple or existing implementations are excluded. There are four options in all cases: "No vote", "No", "Yes", and "Volunteer"; the last means that you are volunteering to write t

Re: [Chicken-users] pp and write ignore keyword-style

2018-11-21 Thread John Cowan
See https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/KeywordSyntax.md for details -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Business before pleasure, if not too bloomering long before. --Nicholas

Re: [Chicken-users] http-client: distinguishing between responses 301 and 302

2018-10-18 Thread John Cowan
The difference between 301 and 302 is primarily relevant to crawlers and caches. I agree that it needs to exist, but not clear that a general-purpose client needs to expose it. Can you explain your use case more clearly? Thanks. On Thu, Oct 18, 2018 at 1:20 PM Norman Gray wrote: > >

[Chicken-users] Request for a small Chicken library in C

2018-09-25 Thread John Cowan
I haven't written any C code for Chicken since version 3 days, and to save me some time re-learning., I'd like to see if anyone's willing to write some for me. What I need is an implementation of the four native IEEE procedures (single and double ref and set) in the R6RS bytevectors library,

Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-29 Thread John Cowan
can put a file in a place expected by some external library. -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org If I read "upcoming" in [the newspaper] once more, I will be downcoming and somebody will be outgoing. ___ C

Re: [Chicken-users] Broken `utf8#string-fill!`?

2018-07-12 Thread John Cowan
On Thu, Jul 12, 2018 at 6:10 PM, John Cowan wrote: > You can't fill a literal string; you have to treat it as immutable. > Actually it's not about mutability. There is a documented restriction ("Attempting to mutate literal strings will result in an error if the mutated size does

Re: [Chicken-users] Broken `utf8#string-fill!`?

2018-07-12 Thread John Cowan
You can't fill a literal string; you have to treat it as immutable. On Thu, Jul 12, 2018 at 4:09 PM, Henry Hu wrote: > Hello, > > `utf8#string-fill!` isn't working for me. Anyone experiencing this > problem? > > CHICKEN > (c) 2008-2017, The CHICKEN Team > (c) 2000-2007, Felix L. Winkelmann >

Re: [Chicken-users] Reason to Celebrate

2018-07-01 Thread John Cowan
Congratulations. A bit far away from me (I'm in New York City), but enjoy anyway. On Sun, Jul 1, 2018 at 6:20 PM, Thomas Chust wrote: > Dear friends, > > hopefully you're all doing well! > > I have reason to celebrate: It has taken me some years, but I eventually > defended my PhD thesis last

Re: [Chicken-users] Codepoint indices for matched regexps (UTF-8)?

2018-06-15 Thread John Cowan
t; Do "(use utf8)" and then "(import utf8-lolevel)" to get the (undocumented) low-level utf8 API. The function utf8-offset->index accepts a string and a byte offset and returns a codepoint index. If you want to go the other way, utf8-index->offset is also p

Re: [Chicken-users] The eggs index needs release dates displayed

2018-02-21 Thread John Cowan
I think that would be a mistake for the reason you give: it's often the case that an egg hasn't been updated in a long while because it's complete and nobody has found any bugs in it. Lisp/Scheme code tends to be extremely durable: McCarthy's theorem prover from 1958 is still runnable with only a

Re: [Chicken-users] Microcontroller schemes

2017-11-16 Thread John Cowan
You can enhance Microscheme by front-ending it with Rapid Scheme, which is a Scheme-to-Scheme compiler that provides syntax-rules macros, R7RS modules, and other things that aren't in Microscheme. On Wed, Nov 15, 2017 at 12:20 PM, Norman Gray wrote: > > Greetings. > >

Re: [Chicken-users] Bug with #:optional in args egg?

2017-09-04 Thread John Cowan
that we have a good deprecation mechanism. What would you consider to be some modern argument parsers that the new design could be based on? -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Thor Heyerdahl recounts his attempt to prove Rudyard Kipling's theory that the mo

Re: [Chicken-users] Chicken on Termux

2017-05-12 Thread John Cowan
es not exist. You will have to specify C_COMPILER=clang on the make line, as Chicken's makefile defaults to gcc and gcc is no longer available on Termux. Best of luck, and tell us how it goes! -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Where the wombat has walked,

Re: [Chicken-users] Compiling multiple modules into a single executable

2016-10-16 Thread John Cowan
ibraries. This is what I normally do. -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org A poetical purist named Cowan [that's me] Once put the rest of us dowan. [on xml-dev] "Your verse would be sweeter / If it only had metre And rhymes

Re: [Chicken-users] set! on unbound variable

2016-09-24 Thread John Cowan
undefined values. Top level definitions in such an implementation are truly equivalent to assignments. See http://trac.sacrideo.us/wg/wiki/SetUndefinedVariable for which Schemes do this and which do not. -- John Cowan http://vrici.lojban.org/~cowanco...@ccil.org Aft

Re: [Chicken-users] srfi-18 threads question

2016-09-21 Thread John Cowan
On Wed, Sep 21, 2016 at 4:53 PM, wrote: > ;; Why does the mutation of a simple global in a thread become visible to > the main thread, but the mutation of global parameter does not? > > In general, parameters are designed to be per-thread rather than shared. If they weren't,

Re: [Chicken-users] r7rs improper redefinition of imported symbol

2016-09-19 Thread John Cowan
is the only place where R6RS and R7RS differ in argument order that is not automatically detectable. Larceny provides a combined (r7r6) library that imports everything from both standards, except that the R6RS version of bytevector-copy! comes in as r6rs:bytevector-copy!. -- John Cowan

Re: [Chicken-users] Continuations

2016-07-16 Thread John Cowan
g the entire stack, than every single > lexical variable would have its state restored when the continuation was > restored, all the way up to toplevel. Sorry, you're right and I was wrong, of course. However, truly global variables are not affected by restoring a captured continuatio

Re: [Chicken-users] Continuations

2016-07-16 Thread John Cowan
stems, programs that don't capture continuations don't pay for them. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Is not a patron, my Lord [Chesterfield], one who looks with unconcern on a man struggling for life in the water, and when he has reached ground

Re: [Chicken-users] canvas-draw and colors

2016-07-16 Thread John Cowan
Thomas Chust scripsit: > Or perhaps just normal arithmetic replacing bitwise-ior by + and > arithmetic-shift by (lambda (x n) (* x (expt 2 n))). This is probably no > less efficient, as the result is going to be a bignum anyway. Well, only on 32-bit machines. -- John Cowan

Re: [Chicken-users] generate numerical list

2016-07-11 Thread John Cowan
ything about ratios, bignums, or complex numbers. Chicken 5 will have a full numeric tower natively and won't have this problem. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org If you have ever wondered if you are in hell, it has been said, then you are on a well-travele

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread John Cowan
system and TCP/IP sockets. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Linguistics is arguably the most hotly contested property in the academic realm. It is soaked with the blood of poets, theologians, philosophers, philologists, psychologists, biologists and n

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread John Cowan
hoices than Chicken, though it does have some nice eggs.) -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Thor Heyerdahl recounts his attempt to prove Rudyard Kipling's theory that the mongoose first came to India on a raft from Polynesia. --blurb for Rikki-Kon-Tik

Re: [Chicken-users] Asynchronous I/O Egg Release

2016-06-30 Thread John Cowan
mpletely. If not, I call it a design defect. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org To say that Bilbo's breath was taken away is no description at all. There are no words left to express his staggerment, since Men changed the language that they learned of elves

[Chicken-users] R7RS-large Red Edition election has begun

2016-06-27 Thread John Cowan
The election to determine the contents of the Red Edition of R7RS-large has begun. To vote, please visit: . Ballots may be returned through the form, or on the WG2 mailing list, or by email to me,

Re: [Chicken-users] Module unresolved error

2016-06-15 Thread John Cowan
port`, so the first order of business is to import identifiers from scheme and chicken to bootstrap a sufficient environment to do anything. This is equally true in the interpreter, but doesn't come up much because most people don't type module forms to the REPL or try to execute modules as scripts.

Re: [Chicken-users] Understanding modules?

2016-05-21 Thread John Cowan
h is the same thing) depends on the module having the same name as the file. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Si hoc legere scis, nimium eruditionis habes. ___ Chicken-users mailing list Chicken-use

[Chicken-users] R7RS-large kickoff, list membership, and voter registration process

2016-05-15 Thread John Cowan
Hwaet! (Apologies for cross-posting) The current phase of R7RS-large development, the development of SRFIs for the Red (data structures) Edition of the language, is coming to an end within a week or so. At that point, I'd like to start discussing the different options to be voted on using the

Re: [Chicken-users] Numbers weirdness

2016-04-01 Thread John Cowan
or WWI pilots: 1. Stay out of WWII. --Peanuts -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Overhead, without any fuss, the stars were going out. --Arthur C. Clarke, "The Nine Billion Names of God" _

Re: [Chicken-users] Numbers weirdness

2016-04-01 Thread John Cowan
ly rounded output string that converts to the same IEEE double value when read back in. Of course it is possible to generate more digits than that, but they are more precise than IEEE double format allows for, and therefore are essentially garbage. -- John Cowan http://www.ccil.org/~cowan

Re: [Chicken-users] Numbers weirdness

2016-04-01 Thread John Cowan
o do it) returns a value of 251.03. The ceiling of that is indeed 252.0. As Kernighan and Plauger said back in 1974: "Floating point numbers are like sandpiles: every time you move one, you lose a little sand and pick up a little dirt." It's still true. -- John Cowan ht

Re: [Chicken-users] Understanding modules?

2016-03-15 Thread John Cowan
l.scm") which contains pure Scheme code with no module forms, imports, or uses. If foo-impl gets too large, I break it into multiple files with multiple includes in foo.scm. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org How comes city and country to be

Re: [Chicken-users] Is there interest in this Prolog interpreter packaged as an egg?

2016-02-20 Thread John Cowan
Jeronimo Pellegrini scripsit: > If you believe this would be interesting as an egg, tell me and I'll > get it packaged! Nice! You should also compare it with Schelog. Definitely do package it as an egg. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org In the sc

Re: [Chicken-users] [s...@speechcode.com: More SRFI reviewers needed.]

2016-01-10 Thread John Cowan
ng this SRFI, and if there's some > difference I'm not seeing here. As best I can tell, the lazy-seq egg is more like SRFI 41 than like SRFI 127. I'm considering turning it into a SRFI to serve as a possible alternative to SRFI 41 and/or 127. -- John Cowan http://www.ccil.org/~cowan

[Chicken-users] [s...@speechcode.com: More SRFI reviewers needed.]

2016-01-06 Thread John Cowan
nd happy scheming! — SRFI editor - End forwarded message - -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Normally I can handle panic attacks on my own; but panic is, at the moment, a way of life. --Joseph Zitt ___

Re: [Chicken-users] another egg

2016-01-04 Thread John Cowan
1; if it's 'b, you get 2, otherwise you get #f. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Dream projects long deferred usually bite the wax tadpole. --James Lileks ___ Chicken-users mailing list Chicken-user

Re: [Chicken-users] Using fmt and numbers eggs together

2016-01-02 Thread John Cowan
led with it to work with it. Chicken 5 will make this go away, fortunately. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Let's face it: software is crap. Feature-laden and bloated, written under tremendous time-pressure, often by incapable coders, using dangerous languages a

Re: [Chicken-users] chicken-spock and 'load'

2015-12-27 Thread John Cowan
ortable SRFI > implementations within my code destined for Javascript via > chicken-spock.) All I can suggest is that you compile them separately and then concatenate the resulting JavaScript files. However, if the SRFIs include macros, those macros won't be available to your code. -- John C

Re: [Chicken-users] chicken-spock and 'load'

2015-12-27 Thread John Cowan
Sudarshan S Chawathe scripsit: > The 'load' not working makes sense now; thanks for the reminder! It > seems odd that 'include' or something similar isn't available. Apparently you are just supposed to supply multiple files of Scheme code on the Spock command line. -- John Cowan

Re: [Chicken-users] [ANN] sdl2 and sdl2-image 0.1

2015-12-19 Thread John Cowan
Evan Hanson scripsit: > Building with gcc-5 instead worked fine. That's because the default for GCC 5.x is --std=c11 instead of --std=c89. The safest approach is to insert --std=c89 into the build commands. -- weirdo:When is R7RS coming out? Riastradh: As soon as the top is a beautiful

Re: [Chicken-users] This may be a bug in chickens hash tables - or my bad

2015-12-18 Thread John Cowan
Otherwise, if you had a tree like (a (b c) (b c)), then any information associated with the first (b c) would be overwritten if you associated information with the second (b c). This is quite independent of whether you ever mutate the tree or not. -- John Cowan http://www.ccil.org/~cowan

Re: [Chicken-users] Continuations, control flow, and F-operator

2015-12-13 Thread John Cowan
t; procedure (which is to say somewhat slower than in comparable Schemes like Gambit), so Oleg Kiselyov's portable implementation works well. There are only a few Chicken-specific touches, as you can see by loading the code with "chicken-install -r F-operator". -- John Cowan

Re: [Chicken-users] optional type checking

2015-12-07 Thread John Cowan
/Types is the documentation. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org And they pack their lyrics till they're so damn dense You could put 'em in your yard and you could use 'em for a fence. --Alan Chapman, "Everybody Wants to

Re: [Chicken-users] srfi-101 egg

2015-11-07 Thread John Cowan
ns, and in any case it calls both of them "srfi-101". I completely rewrote it. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Verbogeny is one of the pleasurettes of a creatific thinkerizer. --Peter da Silva

Re: [Chicken-users] unary 'when' and 'unless'

2015-11-06 Thread John Cowan
stly wrong-typed arguments to standard procedures, and so on. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Any day you [see] all five woodpeckers is a good day. --Elliotte Rusty Harold ___ Chicken-users mailing list Chicken-use

Re: [Chicken-users] one more egg - need advice how wrt. exports

2015-11-03 Thread John Cowan
g > > ___ > Chicken-users mailing list > Chicken-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-users -- John Cowan http://www.ccil.org/~cowanco...@ccil.org "But I am the real Strider, fo

Re: [Chicken-users] one more egg - need advice how wrt. exports

2015-11-03 Thread John Cowan
he "fl" prefix from flonum-specific routines. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Fundamental thinking is ha-ard. Let's go ideology-shopping. --Philosopher Barbie ___ Chicken-users m

Re: [Chicken-users] Which API to use (llrb)?

2015-10-30 Thread John Cowan
"Jörg F. Wittenberger" scripsit: > John, does a chicken implementation already exist? SRFI 125 is only implemented for Larceny, but the code's pretty portable. I'm in the process of replacing SRFI 114 with the simpler SRFI 128, so hold off on that for a bit. -- John Cowan

Re: [Chicken-users] Regex fail?

2015-10-30 Thread John Cowan
ll match the beginning and end of a line as well as the beginning and the end of the string. In non-multi-line mode, they match only the beginning and the end of the string. Single-line mode means that dot matches newline; non-single-line mode means that it does not. -- John Cowan http:

Re: [Chicken-users] Some findings (WAS: Re: ANN: new eggs "llrb-syntax" and "llrb-tree")

2015-10-27 Thread John Cowan
"Jörg F. Wittenberger" scripsit: > [1] http://www.webfunds.org/guide/ricardian_implementations.html I read this with interest, but what does it have to do with David Ricardo? -- John Cowan http://www.ccil.org/~cowanco...@ccil.org And they pack their lyrics till th

Re: [Chicken-users] Windows deployment - Numbers egg

2015-10-04 Thread John Cowan
n "DLL". That's because the brain-dead Windows loader has to be used, as your application does not yet have control. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org In politics, obedience and support are the same thing. --Hannah Arendt __

Re: [Chicken-users] I've gots an egg: missing.egg

2015-08-13 Thread John Cowan
Alaric Snell-Pym scripsit: Excellent! May I offer some tips? +1 to these, and also it's better if do* calls syntax-error rather than error. -- weirdo:When is R7RS coming out? Riastradh: As soon as the top is a beautiful golden brown and if you stick a toothpick in it, the toothpick comes

Re: [Chicken-users] sequential version of set!

2015-08-12 Thread John Cowan
not mutate the iteration variables but rebinds them, and named `let` is all about looping while rebinding. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org You know, you haven't stopped talking since I came here. You must have been vaccinated with a phonograph needle

Re: [Chicken-users] CHICKEN 4.10.0 has been released

2015-08-07 Thread John Cowan
there is no hurry on this.) -- John Cowan http://www.ccil.org/~cowanco...@ccil.org He made the Legislature meet at one-horse tank-towns out in the alfalfa belt, so that hardly nobody could get there and most of the leaders would stay home and let him go to work and do things as he

Re: [Chicken-users] [Chicken-announce] CHICKEN 4.10.0 release candidate 1 available

2015-06-14 Thread John Cowan
in order to speed up defined ones. See http://blog.regehr.org/archives/1180 for more on this. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Mr. Henry James writes fiction as if it were a painful duty. --Oscar Wilde ___ Chicken

Re: [Chicken-users] unbound variable: or

2015-06-03 Thread John Cowan
Peter Bex scripsit: It's pretty cool in that it supports both er/ir macros *and* syntactic closures. Thanks. I've updated http://trac.sacrideo.us/wg/wiki/SyntaxDefinitions accordingly. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org An observable characteristic

Re: [Chicken-users] unbound variable: or

2015-06-02 Thread John Cowan
implementations don't have it and probably never will. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org I am he that buries his friends alive and drowns them and draws them alive again from the water. I came from the end of a bag, but no bag went over me. I am the friend of bears

Re: [Chicken-users] use vs uses?

2015-05-31 Thread John Cowan
. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org You know, you haven't stopped talking since I came here. You must have been vaccinated with a phonograph needle. --Rufus T. Firefly ___ Chicken-users mailing list Chicken

Re: [Chicken-users] unbound variable: or

2015-05-31 Thread John Cowan
of Scheme in favor of safety and clarity. IMO, there is really no need to use low-level macros ever. It is kind of fun that you can write an uncomputable program though. It makes things like continuous build servers hard, though. -- John Cowan http://www.ccil.org/~cowanco

Re: [Chicken-users] unbound variable: or

2015-05-30 Thread John Cowan
your macro to provide for the other half of it. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The Unicode Standard does not encode idiosyncratic, personal, novel, or private use characters, nor does it encode logos or graphics

Re: [Chicken-users] unbound variable: or

2015-05-29 Thread John Cowan
understanding it; you now know as much as you can absorb. Go back to it later when you need more. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Half the lies they tell about me are true. --Tallulah Bankhead, American actress

Re: [Chicken-users] u8vector to numbers bignum

2015-05-28 Thread John Cowan
require programmers to make the choice up front rather than fall back on some dubious OS version that does who-knows-what. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org If you understand, things are just as they are. if you do not understand, things are just

Re: [Chicken-users] unbound variable: or

2015-05-27 Thread John Cowan
Jinsong Liang scripsit: Then is there a straightforward way to get a list of booleans ored? I tried fold with or but it does not work either. It seems writing a loop or a recursion for this is a little overkill. You want any. -- John Cowan http://www.ccil.org/~cowanco

  1   2   3   4   5   6   7   8   9   >