[Chicken-users] Problem with deploy - executable complains it cannot load type-errors

2014-04-01 Thread Matt Welland
I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get the
following when I try to run it:

Error: (require) cannot load extension: type-errors

Call history:

histstore.scm:5: ##sys#require  --

==The Make Lines===

histstore/histstore : histstore.scm ../margs/margs.scm
chicken-install -p histstore  -deploy sqlite3 posix srfi-13 srfi-1
utils format srfi-69 regex regex-literals
csc histstore.scm -deploy

==The First Few Lines=

(use sqlite3 posix srfi-13 srfi-1 regex format)

(import (prefix sqlite3 sqlite3:))

;; (require-library margs)
(include ../margs/margs.scm)

==

Full code:
http://www.kiatoa.com/cgi-bin/fossils/opensrc/doc/tip/histstore/histstore.scm

What am I doing wrong?

Thanks
-- 
Matt
-=-
90% of the nations wealth is held by 2% of the people. Bummer to be in the
majority...
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Problem with deploy - executable complains it cannot load type-errors

2014-04-01 Thread Christian Kellermann
* Matt Welland estifo...@gmail.com [140401 08:17]:
 I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get the
 following when I try to run it:
 
 Error: (require) cannot load extension: type-errors
 
 Call history:
 
 histstore.scm:5: ##sys#require  --
 
 ==The Make Lines===
 
 histstore/histstore : histstore.scm ../margs/margs.scm
 chicken-install -p histstore  -deploy sqlite3 posix srfi-13 srfi-1
 utils format srfi-69 regex regex-literals
 csc histstore.scm -deploy
 
 ==The First Few Lines=
 
 (use sqlite3 posix srfi-13 srfi-1 regex format)
 
 (import (prefix sqlite3 sqlite3:))
 
 ;; (require-library margs)
 (include ../margs/margs.scm)
 
 ==
 
 Full code:
 http://www.kiatoa.com/cgi-bin/fossils/opensrc/doc/tip/histstore/histstore.scm
 
 What am I doing wrong?

The csc -deploy step will install the runtime in the deployment
directory, I did not see you do that.  The way is:

1. compile your application with csc -deploy,
2. chicken-install -deploy the dependencies.

Can you try this?

Thanks,

Christian

Can you try this?

Thanks,

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.

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


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

2014-04-01 Thread Christian Kellermann
Hi Alexej,

* Alexej Magura sickha...@gmail.com [140331 23:24]:
 K, so I???m currently working on an application that, if the user doesn???t 
 provide any options/operands, reads from STDIN, like GNU cat.  I just 
 finished adding signal-handling for SIGINT (Ctrl-c), however, now whenever I 
 press Ctrl-c nothing happens because (read-char) hangs until I press enter.  
 Is there a way to use (read-char) that won???t make it hang?  Maybe something 
 like: (if (not-null? (peek-char)) (read-char))?  I saw that (char-ready?) is 
 supposed to prevent the next call to (read-char) from hanging, but (while 
 I???m sure that (char-ready?) in fact works) I can???t seem to get 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)

Is this compiled code or interpreted code? If it is run in the
interpreter it might be that some module you load snatches sigint
from you. Parley is one of the candidates and maybe I should change
that behaviour. You can instantly try this by running your csi with
the (-n) switch which will prevent loading anything from .csirc.

Kind regards,

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.

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


Re: [Chicken-users] Problem with deploy - executable complains it cannot load type-errors

2014-04-01 Thread Christian Kellermann
* Christian Kellermann ck...@pestilenz.org [140401 10:16]:
 * Matt Welland estifo...@gmail.com [140401 08:17]:
  I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get the
  following when I try to run it:
  
  Error: (require) cannot load extension: type-errors
  
  Call history:
  
  histstore.scm:5: ##sys#require  --
  
  ==The Make Lines===
  
  histstore/histstore : histstore.scm ../margs/margs.scm
  chicken-install -p histstore  -deploy sqlite3 posix srfi-13 srfi-1
  utils format srfi-69 regex regex-literals
  csc histstore.scm -deploy
  
  ==The First Few Lines=
  
  (use sqlite3 posix srfi-13 srfi-1 regex format)
  
  (import (prefix sqlite3 sqlite3:))
  
  ;; (require-library margs)
  (include ../margs/margs.scm)
  
  ==
  
  Full code:
  http://www.kiatoa.com/cgi-bin/fossils/opensrc/doc/tip/histstore/histstore.scm
  
  What am I doing wrong?

Sorry I did not have enough coffe, can you try master? This seems
to be a bug I have fixed in it. As with older versions chicken-install
-deploy will not install dependencies of the eggs you specify...

Sorry for the noise,

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.

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


[Chicken-users] [TFP2014] First Call for Participation

2014-04-01 Thread Peter Achten


  -
 1ST CALL FOR PARTICIPATION
  -

 TFP 2014 ===

15th Symposium on Trends in Functional Programming
May 26-28, 2014
Utrecht University
Soesterberg, The Netherlands
http://www.cs.uu.nl/wiki/TFP2014/WebHome

Registration is now open for the symposium on Trends in Functional
Programming (TFP). It is an international forum for researchers with 
interests
in all aspects of functional programming, taking a broad view of current 
and
future trends in the area. It aspires to be a lively environment for 
presenting
the latest research results. Submission for TFP is now closed, and the 
complete
programme (29 presentations and two invited talks) for TFP can be 
perused here:


   http://www.cs.uu.nl/wiki/TFP2014/PresentationSchedule

TFP 2014 will be the main event of a pair of functional programming events.
The other is the International Workshop on Trends in Functional Programming
in Education (TFPIE). TFPIE will take place on May 25th. Its website is 
located

at http://www.cs.uwyo.edu/~jlc/tfpie14/ . The submission deadline for TFPIE
is April 21, 2014.


INVITED SPEAKERS

TFP is pleased to announce talks by the following two invited speakers:

John Hughes of Chalmers, Goteborg, Sweden, is well-known as author of
Why Functional Programming Matters, and as one of the designers of 
QuickCheck

(together with Koen Claessen); the paper on QuickCheck won the
ICFP Most Influential Paper Award in 2010. Currently he divides his time 
between
his professorship and Quviq, a company that performs property-based 
testing of

software with a tool implemented in Erlang.

Geoffrey Mainland received his PhD from Harvard University where he was
advised by Greg Morrisett and Matt Welsh. After a two year postdoc with the
Programming Principles and Tools group at Microsoft Research Cambridge, 
he is

now an assistant professor at Drexel University. His research focuses on
high-level programming language and runtime support for non-general purpose
computation.

IMPORTANT DATES

Early registration: April 14, 2014
Late registration: May 15, 2014
TFPIE Workshop: May 25, 2014
TFP Symposium: May 26-28, 2014

Registrations can be made at the following URL:

  http://www.cs.uu.nl/wiki/TFP2014/Register

This page will also point you to the web page of the venue where you can 
arrange

for your stay.

hoping to see you there.
Jurriaan Hage (General Chair)


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


[Chicken-users] [TFPIE2014] final call for papers

2014-04-01 Thread Peter Achten
3rd International Workshop on Trends in Functional Programming in 
Education (TFPIE 2014)

May 25, 2014
Utrecht University
Soesterberg, The Netherlands
(http://www.cs.uwyo.edu/~jlc/tfpie14/)


The 3rd International Workshop on Trends in Functional Programming in 
Education, TFPIE 2014, will be co-located with the Symposium on Trends 
in Functional Programming (TFP 2014) at Soesterberg, at the “Kontakt der 
Kontinenten” hotel in the Netherlands on Sunday, May 25th. TFP will 
follow from May 26-28.



The goal of TFPIE is to gather researchers, teachers and professionals 
that use, or are interested in the use of, functional programming in 
education. TFPIE aims to be a venue where novel ideas, classroom-tested 
ideas and work-in-progress on the use of functional programming in 
education are discussed. The one-day workshop will foster a spirit of 
open discussion by having a review process for publication after the 
workshop. The program chair of TFPIE 2014 will screen submissions to 
ensure that all presentations are within scope and are of interest to 
participants. Potential presenters are invited to submit an extended 
abstract (4-6 pages) or a draft paper (up to 16 pages) in EPTCS style. 
The authors of accepted presentations will have their preprints and 
their slides made available on the workshop's website/wiki. Visitors to 
the TFPIE 2014 website/wiki will be able to add comments. This includes 
presenters who may respond to comments and questions as well as provide 
pointers to improvements and follow-up work. After the workshop, 
presenters will be invited to submit (a revised version of) their 
article for review. The PC will select the best articles for publication 
in the journal Electronic Proceedings in Theoretical Computer Science 
(EPTCS). Articles not selected for presentation and extended abstracts 
will not be formally reviewed by the PC.


TFPIE workshops have previously been held in St Andrews, Scotland (2012) 
and in Provo Utah, USA (2013).



** Invited Speaker **
TFPIE is pleased to announce that professor Johan Jeuring of Utrecht 
University and Open University, both in The Netherlands is giving an 
invited talk entitled: Automatic tutoring and assessing functional 
programs.



** Program Committee **

James Caldwell, (Program Chair) University of Wyoming
Peter Achten, Radboud University, Nijmgen
Edwin Brady, University of St Andrews, St Andrews
Jurriaan Hage, Universiteit Utrecht
Philip Holzenspies, University of Twente
Daniel R. Licata, Wesleyan University
Marco T Morazan, Seton Hall University
Christian Skalka, University of Vermont
David Van Horn, Northeastern University


** Submission Guidelines **

There will be two types of presentations at TFPIE 2014. Regular papers 
and “best lecture” presentations. The best lecture talks are intended to 
allow for presentations or short lectures of purely pedagogical 
material. Papers and abstracts can be submitted via easychair at the 
following link: https://www.easychair.org/conferences/?conf=tfpie2014



** Papers **

TFPIE 2014 welcomes submissions describing techniques used in the 
classroom, tools used in and/or developed for the classroom and any 
creative use of functional programming (FP) to aid education in or 
outside Computer Science. Topics of interest include, but are not 
limited to:


* FP and beginning CS students
* FP and Computational Thinking
* FP and Artificial Intelligence
* FP in Robotics
* FP and Music
* Advanced FP for undergraduates
* FP in graduate education
* Engaging students in research using FP
* FP in Programming Languages
* FP in the high school curriculum
* FP as a stepping stone to other CS topics
* FP and Philosophy


** Best Lectures **

In addition to papers, this year we are requesting “best lecture” 
presentations. What’s your best lecture topic in an FP related course? 
Do you have a fun way to present FP concepts to novices or perhaps an 
especially interesting presentation of a difficult topic? In either 
case, please consider sharing it. Best lecture topics will be selected 
for presentation based on a short abstract describing the lecture and 
its interest to TFPIE attendees.



** Important Dates **

* 1 February 2014: TFPIE submissions open on easychair.
* 14 April 2014: Early registration for TFP closes
* 21 April 2014: Submission deadline for draft TFPIE papers and abstracts
* 27 April 2014: Notification of acceptance for presentation
* 15 May 2014: Registration for TFPIE closes - as does late registration 
for TFP

* 25 May 2014: Presentations in Soesterberg, Netherlands
* 29 June 2014: Full papers for EPTCS proceedings due
* 16 August 2014: Notification of acceptance for proceedings
* 8 September 2014: Camera ready copy due for EPTCS

Submission of an abstract implies no obligation to submit a full paper; 
abstracts with no corresponding full versions by the full paper deadline 
will be considered as withdrawn. At least one author from each accepted 
presentation must attend the 

Re: [Chicken-users] chicken 4.8.0.5 on cygwin - stty ECHOPRT

2014-04-01 Thread Claude Marinier


On Sun, 30 Mar 2014, Claude Marinier wrote:


On Sun, 30 Mar 2014, Claude Marinier wrote:

I just built chicken 4.8.0.5 on MS Windows Vista with a somewhat recent
cygwin. The installation process went well but csi could not find parley.

Turns out parley needs stty which did not compile because it cannot find
the symbol ECHOPRT. I removed the offending code from stty.scm, compiled,
and installed it. After that, parley installed without complaint.


I neglected to mention that removing references to ECHOPRT in stty is not a 
proper solution; it just allowed me to use Chicken on MS Windows. Note that 
csi command editing does not work properly; this is likely due the changes I 
made.


I appologize for previously posting an omnibus message. I will try to 
remember to have one topic per posting.


Chicken 4.8.3 works.

tar zxf ~/Downloads/chicken-4.8.0.5.tar.gz
cd chicken-4.8.0.5
make PLATFORM=cygwin PREFIX=/usr/local
make PLATFORM=cygwin PREFIX=/usr/local install
csi
chicken-install numbers

No errors.

--
Claude Marinier



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