Re: [Chicken-users] New Egg: chicken-graphs

2015-07-03 Thread Mario Domenech Goulart
Hi Jeremy,

On Thu, 02 Jul 2015 18:52:09 -0600 Jeremy Steward jer...@thatgeoguy.ca wrote:

 For those of you who do not know me, I also go by DeeEff on #chicken.
 I'd like to announce an egg I've recently put together which provides
 a small set of functionality for graphs, digraphs, multigraphs, and
 multidigraphs. I am aware of the digraph egg as it stands, but I
 developed this both as a learning exercise (as I am currently studying
 graph theory), and in addition, that egg does not support the entirety
 of graph types as I have listed above.

 The code can be found at https://github.com/ThatGeoGuy/chicken-graphs,
 and the license is the LGPL3+.

 I plan to add more functionality in the future, I'm currently
 attempting to implement some way to test for isomorphism, but am not
 quite at that point yet. Things on the TODO list are as follows:

 TODO:

 - Documentation (I know nothing of qwiki format, but am using hahn
 (partially) in the code
 - Tests (this will be smoother once I implement isomorphism?, as I am
 using test-generative and a solid isomorphism predicate will be useful
 for that)
 - Users. I need users to use the code or at least browse it and let me
 know if something smells. :)

 If there are any issues, I would appreciate if users could email
 (mailing list or otherwise) or use the issue tracker on Github.

Thanks!

We'll need a .release-info file to add your egg to the coop.  Please,
see http://wiki.call-cc.org/releasing-your-egg#github-git

The .meta file contains (egg graphs.egg) (which is not actually used
by the current egg tooling), so I suppose you wanted to call your egg
graphs.  However, the .meta and .setup files have a chicken-
prefix.  I'd suggest renaming files from chicken-graphs to graphs.
The directory name can be anything, though (as long as you correctly
point to it in the .release-info file).

I see your repository contains some tests, and you even have some test
dependencies in your .meta file, but there's no run.scm in the tests
directory.  Please, see http://wiki.call-cc.org/eggs%20tutorial#tests
for information on testing eggs.

The version, as specified in the .setup file should be a string.  See
the commit message at
https://github.com/ckeen/pastiche/commit/862c1d7008342230dcd4a4109376dd381f956207
for more details on the reasons for that.

With regard to the qwiki markup syntax, we have some documentation at
https://wiki.call-cc.org/edit-help

Best wishes.
Mario
-- 
http://parenteses.org/mario

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] How to make bindings available to eval?

2015-07-03 Thread Jörg F. Wittenberger
Hi all,

I'm caught in the compiled vs. evaluated semantics...

In csi everything runs perfect, but in compiled mode I'm confuse why
eval does not see most bindings.  What am I missing?

The crazy thing: in the attached file bar is bound only when compile
as `csc tt.scm` (the else branch in the cond-expand) but unbound if
compiled as `csc -Dv1 tt.scm`.  The binding to bar however is correct in
either case within baz:

(cond-expand
 (v1
  (import foo))
 (else
  (import (prefix foo foo:))
  (define bar foo:bar)))

(define (baz x) (bar x))

Scratching my head… This effects basically all the eggs.  The only work
around I found so far is to do the import/prefix trick in the file/unit
exporting the binding.  But that's tedious and probably not what I want
to do.

Thanks

/Jörg
(module
 foo
 *
 (import scheme)
 (define (bar x) (+ x 2)))

(cond-expand
 (v1
  (import foo))
 (else
  (import (prefix foo foo:))
  (define bar foo:bar)))

(define (baz x) (bar x))

(use extras)
(format #t baz: ~a\n (eval '(baz 1)))
(format #t bar is unbound in compiled as `csc -Dv1 tt.scm` ~a\n (eval '(bar 1)))
(exit 0)
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] New Egg: chicken-graphs

2015-07-03 Thread Jeremy Steward
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Mario,

Thank you for the detailed feedback. I've taken the steps you've listed, and as 
far as I can tell salmonella is not complaining (outside of lacking qwiki 
documentation). With regards to documentation, do I just add it to the wiki 
once the egg has been officially registered? That should be simple enough, I 
believe I've made edits to the wiki before, anonymously.

Cheers, and thanks again for the helpful feedback!
- --
Jeremy Steward
-BEGIN PGP SIGNATURE-
Version: APG v1.1.1

iQJDBAEBCgAtBQJVlsMNJhxKZXJlbXkgU3Rld2FyZCA8amVyZW15QHRoYXRnZW9n
dXkuY2E+AAoJEHVwwAZUeZnZgAsP/3lrR53lwCnpiDIreGEcosWAPG5A0dxyCeQ6
ySDcdLbBIr4vqAdik9D9I/kNOvDW4dp0B4yFWEcwiHsgpKjyqH9FTFpfmTENMO0X
lW4cjCqmUsbJ7sSh+j8gA9P2HrP4rVmq0z5v4chgbqPXuTnLLwQ4pvzdONrfHoEd
k09jgbIN1eDxlsSl5uDHoaSG6PZjOgytjmmt067SMZudUrw+kj/gPIDMrqsxDDPb
/bfn1zUM4bm5FpD80IBqn4yj+JNNe9rHfN7EYmBb6f+gEDaQX91NHfw6z4kyPa7d
JeeNO1MWXEBo9J8dcOiuStO2GbyrStyfZWgK1qayWjzj2iUplVH5iTXo2ABYputC
+P5T1iY9LPSNQuvv+RUyZpDFjo0ApkwKsyDKls4i04EQdcuIur0v/LDyaSQj9Hrx
eqAEYsXj45HwcJXZYy1/5BvnyizqR87Cf0dGoeZ2BGM0LczXO50pytLHFc5ui9oE
kjF7sqnljCa2rcDTje4oq68r1ROPfGwhBUTUbxqVnKuz0FiU2qYNCk6z2AirJa9X
nz8MUCAwNGHvPvO7O/7YG+4nPDCsERTmwM8LjPee54hflklW+2imcI6/vRl+V/2d
OtUYZevHFAS3fvL7klMAvPx0RDPr+X7oQ15KLL2hOBy9T9qoz3vhyZ3VgL+lC5Be
hK4ZevXc
=6FJb
-END PGP SIGNATURE-


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] blob-s8vector/shared: types.db incorrect

2015-07-03 Thread Moritz Heidkamp
Hi Andy,

On  2 July 2015 17:07 CEST, Andy Bennett andy...@ashurst.eu.org wrote:

  types.db thinks that blob-s8vector/shared returns an u8vector!

not anymore in master, chicken-5 and prerelease! Thanks for reporting
the issue. I've also fixed 4 more similar cases.

Moritz


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users