Build Issue on Master: Value out of range

2017-06-12 Thread Ian Price
Hello, I've been trying to build the current master, and it fails when I get to (cps utils). i.e. " BOOTSTRAP GUILEC language/cps/utils.go". It may be my own issue, as I'm ignorant of the changes to the bootstrap process, so I figure here is better than bug-guile (for now). If it matters I'm on x6

Re: vhash speed thread safeness

2013-10-29 Thread Ian Price
ww.gnu.org/software/mit-scheme/documentation/mit-scheme-ref/Weight_002dBalanced-Trees.html I have those in pfds under the name bbtrees (for balanced binary trees). They are pretty flexible, and you get reasonable times for a lot of operations, but like a lot of tree structures not particularly c

Re: [PATCH] Replace define-macro with syntax-rules

2013-09-29 Thread Ian Price
t if we want it a specific > error message could be achieved with `syntax-case', or a `syntax-error' > macro (used in an "else" clause of `syntax-rules'). Pattern match errors are completely useless, really. -- Ian Price -- shift-reset.com "Programming is like pinba

Re: and-let* is not composable?

2013-09-10 Thread Ian Price
uit for new contributors. > Anyway can I suggest a Bug report where we Then add it to the tracker :) 0. syntax-rules is fine, modulo al petrofsky/oleg style craziness -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it

Re: [PATCH] wrong description of string-rindex

2013-09-10 Thread Ian Price
n 'first' or 'last', it would be better to use 'leftmost' and 'rightmost' -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: and-let* is not composable?

2013-09-09 Thread Ian Price
to be hygienic, that's pretty easy, but I'm not sure what you can do about this in general. It's not like you can pass in the gensymed name, because that will break the way people who for some reason still right defmacros expect them to work. Dunno, maybe I'm just missing some insight here. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

lua branch rebased

2013-09-09 Thread Ian Price
ually pass. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Procedure vs Object Properties

2013-09-08 Thread Ian Price
g the behaviour of object properties when an object doesn't have a particular property) 0. For docstrings on general objects, we have object-documentation in (ice-9 documentation) too, but that's a separate module, so I'm not counting it. -- Ian Price -- shi

Re: [PATCH]: correctly call build-request

2013-08-27 Thread Ian Price
more like (untested) (when (and length (not (zero? length))) (error "content-length, but no body")) (when (assq 'transfer-encoding (request-headers request)) (error "transfer-encoding not allowed with no body")) (values request #vu8) That said, why do we forbid transfer en

write-request-line empty path bug

2013-08-18 Thread Ian Price
le after some time apart :) -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From 6cd6cbc1e77f159dcfabb2738877fc0022d8933c Mon Sep 17 00:00:00 2001 From: Ian Price D

Re: [Feature Request] Some ideas on 'mmap'

2013-04-30 Thread Ian Price
t's a good reason not to add it. (As an aside, exposing the mmap'ed memory as a bytevector was my first instinct, but I worry about this complicating matters if we ever wanted to change gc) -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is

Re: Guile and Swig

2013-04-20 Thread Ian Price
> Even GOOPS, Guile$B!G(Bs object oriented layer, which derives from CLOS > (Common Lisp$B!G(Bs), uses the first style. As does Racket's class library through the 'send' form. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is

Re: can't build guile 2.0.9 in os x (reference to /nix/store ?)

2013-04-20 Thread Ian Price
(B$SHELL ./the-file$B!I(B, so the shebang isn$B!G(Bt actually used.! -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: lua branch

2013-04-17 Thread Ian Price
Ian Price writes: > The current issues with lua vs master are as follows > 1) has been renamed to on master > 2) has been replaced with which is not quite a drop-in > 3) while was being compiled into something with improper scoping. > > I have fixes for these locally.

Re: Mutable top-level bindings

2013-04-17 Thread Ian Price
hin or imported into the library. That is, it may insert a reference to that identifier into the output code it produces." "All implicitly exported variables are also immutable in both the exporting and importing libraries. It is thus a syntax violation if a variable appears on the left-hand

Re: [PATCH] Add ',run' and ',!'

2013-04-12 Thread Ian Price
Nala Ginrut writes: > Ah~very nice~ > So many cool things should be documented... Yeah, I've been meaning to do this. I'll try and get a patch for later today/tomorrow. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the

Re: lua branch

2013-04-12 Thread Ian Price
Ian Price writes: > I don't know much about Lua, but I think I could do the following. > 1. Fix the lua-lexer failure. > 2. Disable or fix[1] the variable-arguments functionality. > 3. Rebase or merge with modern stable or master > 4. Fix the errors that arise as a resu

Re: [PATCH] Add ',run' and ',!'

2013-04-10 Thread Ian Price
> So, what do you think? This is the sort of thing that belongs in a .guile rather than in guile IMO. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Fun with guile, Erastones + goldbach conjecture

2013-04-09 Thread Ian Price
rs (yes, the naturals are recursive, but many of the algorithms, like fast-exponentiation, rely on recursion other than on the predecessor). 0. http://srfi.schemers.org/srfi-41/srfi-41.html 1. http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf 2. https://github.com/ijp/ijputils/blob/master/streams.sls#L

Re: Fun with guile, Erastones + goldbach conjecture

2013-04-09 Thread Ian Price
(begin > (if (not (= (* 2 i) (analyze i))) > (format #t "~a != (analyze ~a) == ~a~%" (* 2 i) (* 2 i) > (analyze (* 2i btw, Typo here ^^ > (lp (+ i 1) > Maybe I'll meditate on this more, and post a "schemier" version. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ian Price
Attached is a patch to remove the duplicated definitions. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From ffbe4cf3c151d5d5affd5baecf7b4cf65b22ce50 Mon Se

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ian Price
Okay, apparently Ludovic already mailed the list about this, but I didn't see it due to a stale gnus. Ah well. Such is life. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ian Price
t; (define %future-prompt >;; The prompt futures abort to when they want to wait for another >;; future. This isn't the only definition of let/ec in the Guile source code. I see definitions in module/language/tree-il/peval.scm and module/sxml/match.scm (as an aside, I notice match.scm makes the prompt reuse mistake you almost did) -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Outdated section of manual 6.19.10 (Included Guile Modules)

2013-04-04 Thread Ian Price
Mark H Weaver writes: > Frankly, I think it should simply be removed. It is mostly redundant > with Chapter 7 (Guile Modules). If it's to be kept, it should be > brought up to date, and should be kept up to date going forward. +1 for removal. -- Ian Price -- shift-reset.com &

Re: Extremly slow for format & string-join

2013-04-01 Thread Ian Price
s interpretation (format). :) 0. http://synthcode.com/scheme/fmt -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Documenting (system repl server)

2013-03-27 Thread Ian Price
having TCP be the default. Hm. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Documenting (system repl server)

2013-03-27 Thread Ian Price
ocedure} spawn-server [server-socket] >> +@code{run-server} creates and runs a repl, making it available over > > Rather $B!H(BCreate and run a REPL$B!I(B ($B!H(BREPL$B!I(B always > uppercase). Fixed. -- Ian Price -- shift-reset.com "Programming is like pinball. The re

Re: lua branch

2013-03-25 Thread Ian Price
x27;s not necessary, and I don't have any intention of ripping out the parser and writing a new one. If someone else wrote one though, I think we should consider it. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: lua branch

2013-03-25 Thread Ian Price
Ian Price writes: > I don't know much about Lua, but I think I could do the following. > 1. Fix the lua-lexer failure. > 2. Disable or fix[1] the variable-arguments functionality. > 3. Rebase or merge with modern stable or master > 4. Fix the errors that arise as a result o

lua branch

2013-03-25 Thread Ian Price
for the enclosing function's '...'. Right now, there is no way to get that information. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [PATCH] SRFI-45: Support delayed expressions that return multiple values

2013-03-18 Thread Ian Price
ple values. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Documenting (system repl server)

2013-03-18 Thread Ian Price
to placing the expression directly in the prototype. Rough patch is attached. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From d3efaf09c4b57e3055afb503a6c0fd5c7a115ec

Re: Programming racket like in guile

2013-02-22 Thread Ian Price
they have others as well. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [ANN] guile-csv 0.0.1 released!

2013-02-10 Thread Ian Price
meaning Guiler posts an announcement to here, or guile-user. We don't vet them, and we've certainly had bad APIs posted here before . I'm an optimist though: if we can find them, we can fix them, and it seems to work okay in other languages. 0. http://elpa.gnu.org/ 1. http://m

Re: guile-lib 0.2.2 released

2013-02-03 Thread Ian Price
ith guildhall, along with some known interface bugs, the srfi package issues, and support for C etc. A full post will be made later in the week.(promise :) -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from

Re: guile-json 0.1.0 released

2013-01-30 Thread Ian Price
structions at https://github.com/ijp/guildhall/wiki/Getting-Started I'll try and get a mail out later this week about the current state of affairs with guildhall. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Guile Lua

2013-01-14 Thread Ian Price
gt; effectively > represent those ideoms. Any thoughts on it? At one point I implemented tagbody for a laugh using call/cc. I've attached the code, but it's kinda lame. I was much less experienced with continuations and macros then, and I could certainly write it better now. -- Ian Price -- s

Re: Guile Lua

2013-01-13 Thread Ian Price
ng >> properties >> on symbols, e,g. currently a symbol slot is a variable, but to >> effectively support CL I would go for >> /Stefan I don't think we should get ahead of ourselves, but emacs has had some minor CL emulation in things like cl.el and cl-lib. I think thes

Re: [PATCH] Colorized REPL

2012-12-08 Thread Ian Price
appeared in the lists a few > times. (os process) might be reasonable, since we are forever complaining about the popen module, but I don't see why we need (ansi term-color). -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the oppo

Re: Immutable rnrs hashtable

2012-11-26 Thread Ian Price
e, adds values and returns a new > hashtable. I know, I prefer pure functional implementations... You could look up vhashes in the manual. Alternatively, if your data has an ordering you can use (pfds bbtrees) from my pfds collection[0] 0. https://github.com/ijp/pfds or guild install pf

Re: Immutable rnrs hashtable

2012-11-25 Thread Ian Price
Whoops, in my haste, I forgot to note that this _is_ a bug in guile's documentation, not in the implementation. Suggested fix included. Ludovic, Andy: Should I add him to THANKS too? -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the o

Re: Immutable rnrs hashtable

2012-11-25 Thread Ian Price
x27;t say anything about the behaviour of hashtable-set! and hashtable-update! on immutable hashtables, this would be allowed. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Two r6rs bugs

2012-11-25 Thread Ian Price
Okay, pushed to stable-2.0 -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: non-scheme scripts: proposed solutions and their pros/cons

2012-11-25 Thread Ian Price
rent languages, a command-line > argument or argv[0] switch make a lot of sense. I've had quite a few votes for argv[0] so that's probably what it's going to be. --lang might be worth adding as an option under the "guile" name (or --from to match "guild compile"

Re: non-scheme scripts: proposed solutions and their pros/cons

2012-11-25 Thread Ian Price
Ian Price writes: > First, I'm going to try and write a proof-of-concept guile-elisp > executable. This shouldn't be too hard, I think, and may shed some light > on expected difficulties. I was distracted by the pfds release so it's taken me longer than it should h

Re: Two r6rs bugs

2012-11-25 Thread Ian Price
rest ...) )) > > What do you think? Yes, that would be much better. It's startling how often I forget I can syntax-case this way. Changed, okay for me to push? -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well

Re: Two r6rs bugs

2012-11-22 Thread Ian Price
y seems > worth changing, in my opinion. Well, r7rs also has their own library naming convention, but, the main change is that string-for-each should take multiple strings, not a string and some indices as srfi 13 does -- Ian Price -- shift-reset.com "Programming is like pinball.

Two r6rs bugs

2012-11-22 Thread Ian Price
2012-11/msg00011.html 1. http://srfi.schemers.org/srfi-97/srfi-97.html -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From 5f06983d26ccbd7410891730664aa83bef79e763

Re: non-scheme scripts: proposed solutions and their pros/cons

2012-11-20 Thread Ian Price
to affect the C code for guile. It _might_ be possible to do this all in Scheme, but until I've tried, I'm going to remain sceptical. If you have a better suggestion please tell me :) 0. as we all know, "in computer science, every problem can be solved with an additional layer o

non-scheme scripts: proposed solutions and their pros/cons

2012-11-20 Thread Ian Price
ce since now the calling module needs to know the language of the module it's requiring. 0. https://lists.gnu.org/archive/html/guile-devel/2012-07/msg00067.html 1. https://lists.gnu.org/archive/html/guile-devel/2012-07/msg00068.html -- Ian Price -- shift-reset.com "Programming is like pinb

Re: Guile Lua

2012-11-20 Thread Ian Price
he pros/cons of the various suggested approaches, but the only conclusion I've reached is that no single solution is going to work out on its own. I'll take some time to finish this list up and post it later today -- Ian Price -- shift-reset.com "Programming is like pinball. The

Re: Guile Lua

2012-11-19 Thread Ian Price
rg/gmane.lisp.guile.devel/12291 The first issues would be them. There appears to be a notes.org in the modules/language/lua directory, so compare with that, but I expect the roadmap covered that. Then it would be a matter of working through the lua manual, and seeing what else is missing. -- Ian Pri

Guile Lua

2012-11-17 Thread Ian Price
lua, so I can't really do it, but if you know anyone who likes lua, and would be willing to hack on it, please suggest it to them. It'd be a shame to see that code go to waste. Wingo, Ludovic I hope this isn't too forward of me. -- Ian Price -- shift-reset.com "Programming is li

Re: [PATCH]

2012-11-10 Thread Ian Price
The patch looks fine to me (it had better be, since it is already pushed :P), however I wonder if it wouldn't be prudent to look to moving define-record-type into guile proper, and making (use-modules (srfi srfi-9)) effectively a no-op. -- Ian Price -- shift-reset.com "Programmi

Re: Release time!

2012-11-06 Thread Ian Price
n the appropriate package. But as it stands, the provides are somewhat orthogonal to how the code gets installed. Andreas, Guildhall is a friendly fork of Dorodango, so what do you think about adding this sort of thing? -- Ian Price -- shift-reset.com "Programming is like pinball. The rewa

Re: [PATCH] Add ".guile.sls" and ".sls" to the default %load-extensions

2012-11-05 Thread Ian Price
ckages, so that 2.0.5 users don't need to do anything. R7RS will probably want its own incompatible convention anyway... -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [PATCH] Add ".guile.sls" and ".sls" to the default %load-extensions

2012-11-05 Thread Ian Price
nalaginrut writes: > hey guys! Should we consider add our specified name, like: .gl or > just .guile? Please don't -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Adding to the end of the load path

2012-11-04 Thread Ian Price
update to here, and guile-user sometime in the next week or two. 1. http://lists.gnu.org/archive/html/guile-devel/2012-02/msg00038.html -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Appending Queues

2012-11-02 Thread Ian Price
;list, with the obvious simple implementations (define (q->list q) (car q)) (define (list->q l) (if (null? l) (make-q) (cons l (last-pair l -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Guile OpenGL

2012-10-27 Thread Ian Price
rk on sdl bindings is either coordinated with ttn, with a view to be included in the existing guile-sdl, or if it were at the very least compatible. 0. It used to be necessary to make a small tweak, I forget if this is still the case. -- Ian Price -- shift-reset.com "Programming is like pinbal

Re: guile --listen fix

2012-09-19 Thread Ian Price
ts, have it output relevant variables, and check the output. Hmm. This seems like it would be problematic with --listen though, since we'd need to run two instances, and make some visible changes to the instance. Maybe I just haven't thought it through enough. -- Ian Price -- shift-reset

guile --listen fix

2012-09-19 Thread Ian Price
ble-2.0. I also have a patch to fix a typo. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From a764dcb9735c2478392006287a97dd07541e55ee Mon Sep 17 00:00:00 2001 F

Re: things are eq? but not generated at the same time

2012-09-05 Thread Ian Price
Ian Price writes: > anyway. Anyway if vectors are immutable, as I believe they are, it I, of course, meant vector literals, but a quick test shows this is not the case. (define v #(1 2 3)) (pk v) (vector-set! v 0 #f) (pk v) ~ $ guile -s /tmp/test.scm ;;; (#(1 2 3)) ;;; (#(#f 2 3))

Re: things are eq? but not generated at the same time

2012-09-05 Thread Ian Price
harm to make them eq? If you want distinctness and mutability, you can always call the vector constructor. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

init.scm

2012-09-04 Thread Ian Price
ldhall/issues/6 1. Well, -Q in emacs is really "-q --no-site-file --no-splash" but who's keeping track? ;-) -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Adding more to boot-9

2012-09-04 Thread Ian Price
d-right, string-unfold, string-fold-right, string-fold and hash-fold _are_ in the base, and this is supposed to be list processing language. 1. http://mumble.net/~campbell/scheme/shuffle.scm 2. http://okmij.org/ftp/Haskell/perfect-shuffle.txt -- Ian Price -- shift-reset.com "Programming is

Re: Ang.: Will guile support R7RS terminating "equal?" in the presence of cycle?

2012-09-02 Thread Ian Price
Hence no problems. > > Yes, of course. IIRC, equal? in r6rs is supposed to terminate also. If someone implements it, please backport it to the (rnrs base) module. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Will guile support R7RS terminating "equal?" in the presence of cycle?

2012-09-02 Thread Ian Price
oids many important portability questions. But we all can dream... -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Derick's SRFI collection & guile

2012-08-29 Thread Ian Price
Ian Price writes: > Now, as I see it we have a few options available here. > > 1. Patch guile to also look up srfis using the above convention. > 2. Absorb (set-difference portable-srfis guiles-srfis) into guile proper > 3. I change the srfi package hosted on my repo to one th

Re: guildhall packages

2012-08-29 Thread Ian Price
or expository purposes 1. guildhall seems to make some sort of a distinction between "programs" and "executables", but I'm not sure what the reasoning is for this. 2. executables would go in ~/.local/share/guildhall/2.0/$name/bin -- Ian Price -- shift-reset.com &quo

guildhall packages

2012-08-25 Thread Ian Price
pload facility is ongoing, but if you want a library packaged/included shoot me a mail (pure scheme only at the moment, hopefully scheme & c / elisp / ecmascript / brainfuck soon) 0. https://github.com/ijp/guildhall/ 1. Installation instructions -- https://gist.github.com/3327296 -- Ian Pric

Derick's SRFI collection & guile

2012-08-25 Thread Ian Price
I think, racket, and arcfide was working on adding this to chez. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

pkg-list.scm for guile-lib

2012-08-15 Thread Ian Price
ost of the information was taken from the guile-lib info page. I hope the copyright info is correct. Anyway, if there are no objections to the content, I will upload the package to my repo. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity

New guildhall repository

2012-08-12 Thread Ian Price
thread, you can email me links if you want me to package them, and you can check out the guildhall documentation for the pkg-list.scm format if you want to give it a try yourself. There is no interface for user submissions at the moment, but I am looking into that. Hopefully, there will be

Re: Our temporary guildhall package repository down?

2012-08-11 Thread Ian Price
Ian Price writes: > Just an FYI, it still isn't up. :-P I know nalaginrut already offered, > but if you can tell me where to find the available.scm format I can look > into hosting this temporarily myself. Oh I see, it is just a list of package forms (as in pkg-list.scm), but w

Re: Our temporary guildhall package repository down?

2012-08-11 Thread Ian Price
nicer compilation. I would like this to change. I don't know if I will be able to change its fortunes, but I would appreciate help in testing it. In particular, if you have pure scheme libraries that you would like included, I would be much obliged if you would email me links to them. (p

Running non-scheme scripts: some thoughts

2012-07-11 Thread Ian Price
[0]. I don't personally like this solution, since it seems fragile, and it's not clear how it would interact with the -x switch. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: GNU Guile 2.0.6 released

2012-07-07 Thread Ian Price
My thanks to Ludovic, Andy, and all other contributors for their help in this release. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Preparing for 2.0.6

2012-06-28 Thread Ian Price
t it may need a rebase first. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Wish List

2012-05-11 Thread Ian Price
p://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=guile. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Chunked Encoding

2012-05-07 Thread Ian Price
Thien-Thi Nguyen writes: > () Ian Price > () Sun, 06 May 2012 05:52:00 +0100 > >I think we can leave trailers until I have some actual data on >how much these are actually used in practice, and/or someone >complains about it being missing. WDYT? > > It&

Re: Chunked Encoding

2012-05-07 Thread Ian Price
Hello guilers, Here is a more complete patch. I've also attached a patch to export declare-opaque-header!, which I've occasionally found to be useful. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "Th

Re: Chunked Encoding

2012-05-06 Thread Ian Price
in general are welcome I'd just like to make a note that, instead of modifying the client, I modified read-response-body directly. This feels like probably the right thing to do. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it a

Re: Chunked Encoding

2012-05-05 Thread Ian Price
ccing Daniel Hartwig, since he has been a bigger cheerleader for chunked encoding than I have so far :). Andy Wingo writes: > On_Thu 29 Sep 2011 16:09, Ian Price writes: > >> If you've used the (web ...) modules, you may have noticed that guile >> does not currently s

Re: simple syntax expression faiilure,

2012-04-21 Thread Ian Price
licated way of "consing" a onto the list a. So why not just do #`(#,#'a . #,#'a) ? -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [PATCH] read-response-body should return received data when error occcurs (V2)

2012-03-16 Thread Ian Price
object? bv) (incomplete-response ...)) ((= (bytevector-length bv) nbytes) bv) (else (incomplete-response ... Am I the only one who feels strongly about this? -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: an add-finalizer! by any other name

2012-03-15 Thread Ian Price
d by "GC Hooks" in the manual, a > guardian is simply a finalizer, implemented in a roundabout way. > > Food for thought! I could have told you that. I already implement an add-finalizer! in roundabout way using guardians :P -- Ian Price "Programming is like pinball. The r

Re: [PATCH] read-response-body should return received data when any break happens

2012-03-15 Thread Ian Price
:P > For example, reusing the same bytevector and looping over > read-response-body! saving the results to disk each time. This limits > the memory use to the size of the bytevector *and* removes the copy > operation from your implementation (bonus!). If you wanted to do it that way, i

Re: [PATCH] read-response-body should return received data when any break happens

2012-03-15 Thread Ian Price
c protocol layered over another more appropriate protocol is just ugly. As I already mentioned, exceptions have tags, and this is what these are for. Fundamentally, I think this patch could be simplified to checking for an eof from get-bytevector-n and changing the bad-response to an "incomplete-response" that provides the bytevector. What does everyone else think? -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Confusing Error Message

2012-03-13 Thread Ian Price
at the top of the file and should not be affected by this change.", that's ages ago though -- "Changes since Guile 1.3.2:". Looks to me like a case of "it's that way, because it's always been that way" Just my £0.02. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: My Guile TODO list

2012-03-10 Thread Ian Price
return using GOOPS. This is motivating my experiments with higher order modules. > * Improve error messages and debugging Always welcome. Thanks for sharing. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

manual examples - self contained or not?

2012-02-19 Thread Ian Price
MO reduces confusion. I already try to do this when posting any examples on paste.lisp.org or in a gist. Other people may feel differently, as it is relatively easy to search the manual for missing procedures and, as cky put it, "I don't believe in copypasta coding". -- Ian Price "Pr

Re: [PATCH] Fix search_path to fill stat_buf when given an absolute pathname

2012-02-04 Thread Ian Price
g, and this patch > _does_ fix his problem. I pushed it to stable-2.0. Thanks again to > David for reporting the problem and helping me track it down! :) Cool, I've been having this issue somewhat intermittently, and it's good to see a fix. I'll keep my eyes peeled for any re

Re: bug#10522: Patch: Improve optional variable and keyword notation in manual

2012-02-03 Thread Ian Price
Andy Wingo writes: > Also, it seems pedantic to repeat the keyword arguments (once as > keyword, once as identifier). Surely #:foo=bar is unambiguous? Since guile use the same name for both the keyword and identifier, I'd say so. -- Ian Price "Programming is like pinball

Re: GNU Guile 2.0.5 released

2012-01-31 Thread Ian Price
if you already installed 2.0.4. > We apologize for the inconvenience. Mozilla, eat your heart out. :) -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Syntax Parameters documentation for guile

2012-01-07 Thread Ian Price
Andy Wingo writes: > On Sat 07 Jan 2012 18:37, Ian Price writes: > >> slight mistake in the last one, So I've sent another patch > > Sorry for being an idiot, but I'm not able to download this one. Can > you send it again as a plaintext attachment? I thought I ha

Re: Guile: What's wrong with this?

2012-01-07 Thread Ian Price
cts, while all objects created by the other procedures listed in this report are mutable." -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: Syntax Parameters documentation for guile

2012-01-07 Thread Ian Price
slight mistake in the last one, So I've sent another patch <<< message/external-body; name*=us-ascii''~%2fsrc%2fguile%2f0001-document-syntax-parameters.patch; access-type=local-file: Unrecognized >>>

Re: Syntax Parameters documentation for guile

2012-01-06 Thread Ian Price
need to know very > much in the way of formatting; just follow the examples there and you'll > be good. Yes, dsmith and ludovic assured me as much on IRC :) -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again"

Re: Why not support (begin), (cond), (case-lambda), etc?

2012-01-06 Thread Ian Price
provide an arbitrary semantics for no-argument version. If you do that, then you aren't simplifying at all, but merely trading one set of complications for another. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

  1   2   >