[Chicken-users] do* code-review

2015-08-12 Thread Alexej Magura
Could I please get a code review on this function: I didn't write it, but even if I had, I'd still want some of yall to look over it just to make sure that it's as efficient and performant as far as getting as much work done as possible with as little effort as possible: efficient,

Re: [Chicken-users] do* code-review

2015-08-12 Thread Alexej Magura
lulz, nevermind. xD On 08/12/2015 04:07 PM, Alexej Magura wrote: Could I please get a code review on this function: I didn't write it, but even if I had, I'd still want some of yall to look over it just to make sure that it's as efficient and performant as far as getting as much work done

[Chicken-users] versions patch

2015-08-12 Thread Alexej Magura
Adds the following functions to the `versions' egg: (define (local egg) (irregex-replace (format ~%) (last (string-split (call-with-input-pipe (string-append chicken-status egg) read-all) (define (remote egg #!optional url)

[Chicken-users] sequential version of set!

2015-08-12 Thread Alexej Magura
Is there a sequential version of /set!/, as in /setq/? ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Bug in readline 4.0 egg; missing function (Erik Falor)

2015-08-07 Thread Alexej Magura
I'm getting a different error than your's, Erik, I get: #;1 acsi: symbol lookup error: /usr/lib/chicken/7/apropos.so: undefined symbol: C_mutate instead of #;1 acsi: symbol lookup error: /usr/lib/chicken/7/readline.so: undefined symbol: C_enumerate_symbols

Re: [Chicken-users] Bug in readline 4.0 egg; missing function

2015-08-07 Thread Alexej Magura
Fixed the problem; rolled out v4.1.0 of the Readline egg. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] do* implementation

2015-04-28 Thread Alexej Magura
Common Lisp has a uhh.. recursive(?) version of /do/ that defines its variables in a manner similar to /let*/, in the sense that they're defined sequentially: later variables can refer to those previous. Example: (do* ((a '(1 2 3 4 5) (cdr a)) (b (car a) (car a))) ((eq '() a))

Re: [Chicken-users] readline egg v2.0 feedback

2015-02-02 Thread Alexej Magura
the history searching functions.//However, the history searching functions will be added back again in the next (proper) release, which should be 3.1. On 01/27/2015 11:10 AM, Evan Hanson wrote: Hi Alexej, My tuppence: On 2015-01-27 4:01, Alexej Magura wrote: I don't think I'll use the toplevel

Re: [Chicken-users] how to unintern a symbol

2015-02-02 Thread Alexej Magura
the targeted package, or in our case module. After uninterning /foo/, if I were to enter foo into the REPL to be evaluated, it would throw an unbound variable exception. On 02/02/2015 11:31 AM, Peter Bex wrote: On Mon, Feb 02, 2015 at 10:51:26AM -0700, Alexej Magura wrote: Does Chicken have

[Chicken-users] how to unintern a symbol

2015-02-02 Thread Alexej Magura
Does Chicken have anything comparable to Common Lisp's /unintern/? I thought that it might be under /##sys/, since other features present in Common Lisp, but absent in Chicken are available under that namespace, but it doesn't seem to be provided by that module/namespace.

Re: [Chicken-users] Fresh CHICKEN - trouble with readline

2015-01-30 Thread Alexej Magura
Sorry, only just saw this. The API changed, hence the major version bump. I'm certain that I updated the egg's wiki page to at least include the new history file manager install function crap. Also, you can just put /#f/ for your home directory and it should automatically figure it out.

[Chicken-users] maintaining posix-extras

2015-01-29 Thread Alexej Magura
I can't find Jim Ursetto's email anywhere in the source for posix-extras or on his website, although I suppose I could check the mailing list, but I figured this'd be faster. EDIT: I checked the mailing list, and it looks like Jim keeps his email hidden so it looks like this might be the only

[Chicken-users] emacs svnwiki mode

2015-01-28 Thread Alexej Magura
Does anybody have any custom svnwiki mode setups for Emacs? I googled for a svnwiki mode but didn't find any there or in my Linux distro's repos. ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-27 Thread Alexej Magura
I don't think I'll use the toplevel-command stuff after all: I can't promise that the toplevel symbols readline exports won't get overwritten, and I'm not entirely sure readline has any business providing private toplevel symbols that are only applicable to it. It might confuse

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-26 Thread Alexej Magura
, though. On 01/25/2015 04:02 PM, Matt Welland wrote: On Sun, Jan 25, 2015 at 2:55 PM, Alexej Magura agm2...@gmail.com mailto:agm2...@gmail.com wrote: Forgot to send my reply to the Chicken users mailing list too. Forwarded Message Subject:Re: [Chicken

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-25 Thread Alexej Magura
Forgot to send my reply to the Chicken users mailing list too. Forwarded Message Subject:Re: [Chicken-users] readline egg v2.0 feedback Date: Sun, 25 Jan 2015 14:54:09 -0700 From: Alexej Magura agm2...@gmail.com To: Matt Welland mattrwell...@gmail.com

[Chicken-users] malloc'd memory

2015-01-25 Thread Alexej Magura
If I have a function that returns a malloc'd pointer, or that needs to have a buffer malloc'd, is it more idiomatic to (1) malloc and free in the caller function (which is C's idiom, IIRC), or (2) malloc it in C and then just return the pointer for free'ing by Chicken once the caller function

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-25 Thread Alexej Magura
Message From: Alexej Magura agm2...@gmail.com Sent: Monday, December 15, 2014 04:00 AM To: chicken-users@nongnu.org Subject: [Chicken-users] readline egg v2.0 feedback Hi, so as the new maintainer for the readline egg I wanted to reach out to the community and see if anybody had any hacks

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-25 Thread Alexej Magura
I think that a reasonable solution would be to (1) create the history file if it does not already exist, (2) allow users to explicitly disable/enable history keeping at any time, (3) simplify history file installation to include only about a line of code, (4) add an option to either wipe the

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-25 Thread Alexej Magura
A paranoid function seems unnecessarily complicated to me. I think it'd be better to provide users with simple tools with which they can build bigger/better tools that suit their needs better than any megalathon-tool that I can provide. On 01/25/2015 01:48 PM, Matt Welland wrote: I'm not

Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Alexej Magura
://lists.nongnu.org/mailman/listinfo/chicken-users -- Alexej Magura ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Alexej Magura
or utilities written in Chicken Scheme being distributed to end-users currently, but the reason why I'm even checking it out is because it does seem better suited to this task than a lot of other Lisp/Scheme implementations. On Fri, 2015-01-09 at 15:12 -0700, Alexej Magura wrote: Yeah, offering eggs via any

[Chicken-users] Chicken Scheme's license

2015-01-05 Thread Alexej Magura
What's Chicken Scheme licensed with? I did a brief search of the website, but I didn't see anything about licensing; sspecifically, is Chicken Scheme open source? -- Alexej Magura ___ Chicken-users mailing list Chicken-users@nongnu.org https

Re: [Chicken-users] Chicken Scheme's license

2015-01-05 Thread Alexej Magura
Thanks, Matt. -- Alexej Magura ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Alexej Magura
if a symbol had been defined, but if there's already an egg that provides this support or if it's built-in, I wanted to know so that I wouldn't have to bother trying to rewrite said function. -- Alexej Magura ___ Chicken-users mailing list Chicken-users

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Alexej Magura
Thanks, Kon. On 12/19/2014 11:45 PM, Kon Lovett wrote: On Dec 19, 2014, at 10:38 PM, Alexej Magura agm2...@gmail.com mailto:agm2...@gmail.com wrote: In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way

[Chicken-users] updating eggs

2014-12-16 Thread Alexej Magura
Is there a way to update eggs? I thought it might be chicken-install -update-dbbut that seems to have a different effect. Is there no zero-config means of updating eggs aside from manually updating them? -- Alexej Magura ___ Chicken-users mailing

[Chicken-users] readline egg v2.0 feedback

2014-12-15 Thread Alexej Magura
and merry Christmas! -- Alexej Magura ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] readline history bug?

2014-12-11 Thread Alexej Magura
and send patches and what-not :S I even ran salmonella and it seemed to check out okay. -- Alexej Magura --- readline.scm 2014-12-11 01:57:27.105532179 -0700 +++ readline.scm.new 2014-12-11 01:41:14.946431613 -0700 @@ -102,6 +102,12 @@ gnu-readline-truncate-history gnu-history-new

Re: [Chicken-users] readline history bug?

2014-12-11 Thread Alexej Magura
? Not to sound stupid, but I'm not entirely sure what a hook procedure is. It sounds like something that might deal with ports... or something like a callback? -- Alexej Magura ___ Chicken-users mailing list Chicken-users@nongnu.org https

Re: [Chicken-users] readline history bug?

2014-12-11 Thread Alexej Magura
On 12/11/2014 02:31 AM, Alexej Magura wrote: Yeah, I loaded up my shell without my rcfile and the problem went away, so something in my .zshrc/.zshenv is causing the problem. So apparently running csi with rlwrap was messing with the readline support, lulz. Commenting out the following

[Chicken-users] readline history bug?

2014-12-10 Thread Alexej Magura
problems? -- Alexej Magura ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Fw: Re: Reading from STDIN with the hang

2014-04-07 Thread Alexej Magura
using (with-stty ‘(echo) read-char) seems to have no affect.  I still have to press *enter* in order for SIGINT to kill the program, that is the program still hangs on (read-char), even when it gets a SIGINT. -- Alexej Magura Sent with Airmail On April 6, 2014 at 10:32:46 PM, John Cowan (co

[Chicken-users] lazy-ffi doesn't build on Mac OS X

2014-04-06 Thread Alexej Magura
Lazy-ffi doesn’t build for Mac OS X, at least for 64bit.  Problem originates in the *lazy-ffi-support.scm* file.  Either the *libffi* header file moved or this egg wasn’t tested against Mac OS X using homebrew.  Either way, the included patch fixes the egg. --  Alexej Magura Sent with Airmail

[Chicken-users] Reading from STDIN with the hang

2014-03-31 Thread Alexej Magura
it to work.   Anyone have any experience with this kind of issue; would using (read-line)  instead of (read-char) make a positive difference?  (I doubt it would) --  Alexej Magura Sent with Airmail___ Chicken-users mailing list Chicken-users@nongnu.org https