2017-05-13 3:52 GMT+02:00 Mark H Weaver :
> Hi Arne,
>
> Arne Babenhauserheide writes:
> > A few weeks ago I asked in IRC whether wisp[1] could be included with
> > Guile in modules/language/wisp to allow every guile users to run wisp
> > code from any Guile installation via
> >
> >
> > $ gui
Hi,
A while ago I proposed a few SRFIs, in particular
https://srfi.schemers.org/srfi-201, which provides extensions to core
bindings (define, lambda, let, let*, or)
https://srfi.schemers.org/srfi-201, which extends SRFI 2 with the
capability of pattern matching
Recently, with a second draft, I hav
Hey,
I see that the style of your code is fairly unorthodox.
I'd suggest you to read the following chapters of SICP,
if you haven't already:
Section 3.5 (Streams), which introduces the notion
of streams, or lazy lists (that can be infinite), with the
most amazing example of Erastostenes' sieve
impl
Hi,
I've traced something that is not entirely a bug, but which was a little
surprise for me. It has to do with the extensions that guile provides to
the Scheme language -- namely, uniform vectors and arrays.
The (ice-9 match) module offers the syntax
(match #(1 2 3)
(#(a b c)
(list a b c)))
-- Forwarded message --
From: Panicz Maciej Godek
Date: 2013/10/1
Subject: Re: Guile interpeter crash
To: Dmitry Bogatov
2013/10/1 Dmitry Bogatov
>
> Here is code that results crash (return 134). Hope it is interesting.
>
The code you gave is not a proper Scheme pro
Hi,
I recently came up with the following idea:
similarly to curried definitions (from (ice-9 curried-definitions)),
one could introduce matching lambdas, i.e.
lambdas whose arguments can be destructured
in the argument list, so that instead of e.g.
(define (f pair)
(+ (car pair) (cdr pair)))
o
Hello :)
2013/11/30 Mark H Weaver
>
> Although it's not in the manual, we already have this. It's called
> 'match-lambda' and 'match-lambda*' in (ice-9 match). 'match-lambda'
> creates a procedure that accepts a single argument, and does pattern
> matching on that argument. 'match-lambda*' ma
Hi!
2014/1/23 Mark H Weaver :
> Hello all,
>
> For a short time I liked 'cut' from SRFI-26, but I soon became
> frustrated by its limitations, most notably not being able to reference
> the arguments out of order or within nested expressions. I don't like
> the inconsistent style that results whe
2014/1/23 Mark H Weaver :
> This patch fixes all of the thread-unsafe lazy initializations I could
> find in stable-2.0, using 'scm_i_pthread_once'.
>
> Any comments and/or objections?
Does this fix the error that Chris Vine found some time ago?
If so, is there any test in the test suite that fail
2014/1/23 Mark H Weaver :
>> Does this fix the error that Chris Vine found some time ago?
>
> Probably not, but who knows? Would you like to try?
Sure, but it will take some time, because I have to set up the build
environment first. I think I'll have it by tomorrow, if that's ok.
> There are de
2014-02-20 17:59 GMT+01:00 Arne Babenhauserheide :
> Hi,
>
> I recently experimented with docstrings, and I stumbled over not being
> able to define a function which only has a docstring as body:
>
>
> (define (foo)
> "bar")
>
> (procedure-documentation foo)
> => #f
>
> Adding a f
Hi.
I've observed that some time ago you started sending tons of revolutionary
ideas regarding the way the software should be written, and crtiticising
the current practices.
I am not in the position to refer to those ideas, because I didn't manage
to comprehend them fully (although I am trying to
Hey,
Maybe I'm a fucking ignorant jumped-up little prick, but at least I don't
stink ;]
Actually I don't think that you did put yourself into a particulatly
comfortable position, and even if you don't care what the people around you
think, maintaining personal hygiene seems like The Right Thing To
2014-09-20 14:46 GMT+02:00 Taylan Ulrich Bayirli/Kammer <
taylanbayi...@gmail.com>:
> Panicz Maciej Godek writes:
>
> > [...]
>
> First of all let me say I agree with you; guile-devel is the wrong place
> to discuss these things.
>
>
Having this settled,
2014-09-21 13:11 GMT+02:00 Taylan Ulrich Bayirli/Kammer <
taylanbayi...@gmail.com>:
> [...]
> Still, one last political remark from me:
>
> Things are more complicated. Google might be incapable of evil, but
> then they might be a tool of the US government. Not calling the US
> government "evil"
2014-10-21 16:57 GMT+02:00 Dave Thompson :
> Hello all,
>
> Last night, I encountered what I consider to be a frustrating limitation
> of GOOPS methods: They do not support record type descriptors, only
> classes. This makes it difficult to take advantage of generic
> procedures without also buyi
Hi,
My first impression is that the error might be caused by using the
combination of #:allocation #:virtual and #:init-keyword for the "colour"
slot. Since #:init-keyword initializes slot value with a given value, and
virtual slots have no actual value, the semantics of such operation is
rather u
2015-06-22 20:32 GMT+02:00 Sjoerd van Leent :
> Dear Andy,
>
> I am still busy with creating a proper assembler within Guile. The first
> step was to be able to execute a page, which I have been able to create.
>
> If you are interested, I can put a git repository somewhere.
>
Hi,
interestingly,
2015-06-23 14:54 GMT+02:00 Barry Fishman :
>
> On 2015-06-23 17:19:56 +0800, Nala Ginrut wrote:
> > On Tue, 2015-06-23 at 11:12 +0200, to...@tuxteam.de wrote:
> >> What does number/base do? Does it change the read syntax of numbers?
> >>
> >
> > I think it defines a function (number/base base) fir
>
> > > Hm. Where's the difference to Guile's define? And why do you have
> double
> > > parentheses in your example?
> > >
> > > Still a bit lost.
> >
> > hmm...do you read the pasted code in the repo? ;-)
>
> Not yet, I must admit. But nevermind, got it. It looks like a definition
> for a paramet
24 cze 2015 10:34 napisał(a):
>
> > In addition, the module allows me to use the "let" and "let*" forms with
> > multiple values:
> >
> > (let ((a (b c) (values 1 '(2 3
> > (+ a b c))
>
> Any chance to see that in Guile?
The module actually works with guile (it replaces the default bindings
2015-06-24 11:44 GMT+02:00 Panicz Maciej Godek :
> I could prepare a smaller version of the module that perhaps could make it
> into the official distribution, if guile maintainers have nothing against,
> and send a patch
>
I include the aforementioned.
It is not a patch though
2015-08-30 14:30 GMT+02:00 Taylan Ulrich Bayırlı/Kammer <
taylanbayi...@gmail.com>:
> This is a bit of a crank idea, but here goes.
>
> Today I wasted some time trying to find the bug in the following piece
> of code:
>
> (define (syntax-car syntax)
> (syntax-case syntax () ((car . cdr)
2015-08-30 15:16 GMT+02:00 Taylan Ulrich Bayırlı/Kammer <
taylanbayi...@gmail.com>:
> Panicz Maciej Godek writes:
>
> > You mean that #'x is synonymous to (syntax x), and that's where the
> > problem stems from?
>
> Yup. I shadow 'syntax', but I
2015-08-30 16:47 GMT+02:00 Taylan Ulrich Bayırlı/Kammer <
taylanbayi...@gmail.com>:
> Panicz Maciej Godek writes:
>
> > Your point is that quote (and unquote, and quasiquote, and syntax, and
> > unsyntax, and quasisyntax) is a reader macro, so one might forget that
&
2015-09-04 2:54 GMT+02:00 Mark H Weaver :
> Panicz Maciej Godek writes:
>
> > It is not a patch though, but just a separate module called (ice-9
> > nice-9) that is meant to be placed in the "ice-9" directory (e.g.
> > "/usr/share/guile/2.0/ice-9&quo
Hi,
while I have nothing to say regarding the details of your SRFI, I find some
of your motivations questionable, and therefore I decided to write this
reply. Forgive the somewhat "negative" tone of this e-mail, despite my
intentions being positive.
> I've made pretty fine experiences with R7RS-s
>
>
> > I've made pretty fine experiences with R7RS-small so far[0][1][2]
> > [3], and after seeing people's disdain towards R7RS-large's
> > direction and agreeing with them (although I wouldn't trust my own
> > judgment alone), I've decided to try pushing R7RS-large in a
> > s
2015-09-28 10:13 GMT+02:00 Taylan Ulrich Bayırlı/Kammer <
taylanbayi...@gmail.com>:
> Panicz Maciej Godek writes:
> >
> > Maybe you should explain why there are so many implementations of
> > Scheme in the first place? (That isn't the case for Python, Java or
>
2015-09-29 22:05 GMT+02:00 Arne Babenhauserheide :
> Am Montag, 28. September 2015, 22:02:42 schrieb Panicz Maciej Godek:
> > Even within the Scheme community there appear voices complaining on the
> > Lisp syntax, like SRFI-105, SRFI-110 or SRFI-119.
>
> I wrote SRFI-11
2015-09-30 1:44 GMT+02:00 Arne Babenhauserheide :
> Am Mittwoch, 30. September 2015, 01:02:50 schrieb Panicz Maciej Godek:
> > 2015-09-29 22:05 GMT+02:00 Arne Babenhauserheide :
> > > I wrote SRFI-119, not because I want Scheme to become more like
> > > Python, but
2015-10-01 0:16 GMT+02:00 Arne Babenhauserheide :
> Am Mittwoch, 30. September 2015, 08:39:44 schrieb Panicz Maciej Godek:
> > > > others), then it would be most harmful to the Scheme community,
> because
> > > > that would increase code enthropy and force programmer
Hi,
although I cannot be of immediate help with the topic, because I don't know
anything about advection, I think that the main problem with your code is
that it is imperative. While Python's stylistics handles the imperative
code quite nicely, it looks rather strange in Scheme.
>From my experienc
2016-02-12 21:41 GMT+01:00 Chad Albers :
> Hi,
>
> In my attempt to assist the guile project, I thought I would share a
> document on a plan to migrate some of the ice-9 modules into a more
> intuitive, yet to be decided, namespace. Before I proposed a technological
> plan, I have begun really an
Hi Arne!
2016-02-22 16:08 GMT+01:00 Arne Babenhauserheide :
> Hi,
>
> In january there was a thread here about Guildhall with the notion
>
> > I encourage you to hack on Guildhall to make it more usable for your
> > needs.
>
> I finished my PhD last month, so I have some freed-up time — and I wou
Hi Andy,
I have been using soft ports to implement a text widget in my GUI
framework. I also used GOOPS, which I regret to this day, and so the whole
framework needs a serious rewrite, but if you're collecting various species
to the museum of make-soft-port, you can have a look:
https://bitbucket.
2016-03-30 13:18 GMT+02:00 Jan Nieuwenhuizen :
> Panicz Maciej Godek writes:
>
> > I also used GOOPS, which I regret to this day, and so the
> > whole framework needs a serious rewrite
>
> What is it that you do not like about GOOPS?
Most specifically, I dislike its m
2016-03-30 19:53 GMT+02:00 Marko Rauhamaa :
> I like OOP, only I don't like GOOPS. Its classes and generic functions
> seem so idiomatically out of place, unschemish, if you will.
>
> This is how OOP ought to be done:
>
> https://www.gnu.org/software/guile/manual/html_node/OO-Closure.htm
> l#
I hope you don't mind me having dug this thread up, with an idea that is
only loosely related with the original one.
Recently I've been doing a small project in Clojure, and I've found that it
provides a function called "partial" that performs a sort of partial
application.
With guile's curried d
2016-09-23 18:44 GMT+02:00 Panicz Maciej Godek :
> I hope you don't mind me having dug this thread up, with an idea that is
> only loosely related with the original one.
>
> Recently I've been doing a small project in Clojure, and I've found that
> it provides a
2016-11-19 19:34 GMT+01:00 Jan Synáček :
> Hi,
>
> scheme@(guile-user)> ,use (srfi srfi-1)
> scheme@(guile-user)> (take (list 1 2 3) 4)
> ERROR: In procedure list-head:
> ERROR: In procedure list-head: Wrong type argument in position 1
> (expecting pair): ()
>
> scheme@(guile-user) [1]> (drop (lis
2016-11-20 11:42 GMT+01:00 Jan Synáček :
>
> >> Please, tell me that this is just a mistake... This can't be true. I
> >> still can't believe it. This is from 2.0.11. Please, tell me that the
> >> implementation is fixed in 2.2.
> >>
> >> Yours truly puzzled,
> >
> >
> > I don't know why you find
2016-11-21 8:34 GMT+01:00 Jan Synáček :
>
> Ok. Apart from the fact that it's written in srfi, I wonder what the
> reasoning for such behavior is. I mean, what makes the "i" bigger than
> the length of the list so illegal that you have to bail out? When is
> such behavior useful? On the other hand
43 matches
Mail list logo