Search found 271 matches

by Goheeca
Thu Jun 25, 2015 9:05 am
Forum: Common Lisp
Topic: Is there any decent GUI toolkit for MS Windows?
Replies: 13
Views: 21546

Re: Is there any decent GUI toolkit for MS Windows?

You could stick with Qt4 and use CommonQt. The Qt5 support is obviously planned.
There exists CAPI, it looks nice to me, but it's not open/free*.

*It should be noted that I don't mean exact definitions, but rather my feelings about that.
by Goheeca
Wed Jun 24, 2015 1:29 am
Forum: Common Lisp
Topic: 2015's CLisp implementations: Where can I find them?
Replies: 4
Views: 6331

Re: 2015's CLisp implementations: Where can I find them?

There is a kind of comparison, lots of text fewer tables. It could be out of date, I haven't inspected that.
by Goheeca
Mon May 25, 2015 12:58 am
Forum: Common Lisp
Topic: How do common lisp frameworks deal with packages?
Replies: 3
Views: 5647

Re: How do common lisp frameworks deal with packages?

I'm not familiar with deftest.
But on the unexported symbol, they can be accessed with double colon:

Code: Select all

package::unexported-symbol
by Goheeca
Tue May 05, 2015 2:18 pm
Forum: Scheme
Topic: What's illegal about my function?
Replies: 1
Views: 4785

Re: What's illegal about my function?

If you used another implementation of scheme things wouldn't happen so good. You are trying to use a block of code, but you can't just use surrounding parentheses: ((expr1) (expr2) (expr3)) the first member of a list (expr1) is evaluated and used as an function, thus for a block of code there is an ...
by Goheeca
Thu Apr 30, 2015 11:39 am
Forum: Scheme
Topic: Scheme Executable Terminating Prematurely
Replies: 3
Views: 7020

Re: Scheme Executable Terminating Prematurely

In docs they say:
The executable you create will not have a read-eval-print-loop, so be sure to have an expression that starts your program running in the definitions window before creating the executable.
Therefore, you have to write your own REPL or use the built-in one.
by Goheeca
Sun Mar 29, 2015 6:29 am
Forum: Common Lisp
Topic: (SB)CL: code creates endless loop while it is loaded...
Replies: 5
Views: 6679

Re: (SB)CL: code creates endless loop while it is loaded...

In functional programming style you'd write functions working with the stream in a way that you'd pass the stream as an extra argument to them and then you'd just use with-open-file in code using these functions.
by Goheeca
Sun Mar 29, 2015 6:22 am
Forum: Common Lisp
Topic: (SB)CL: code creates endless loop while it is loaded...
Replies: 5
Views: 6679

Re: (SB)CL: code creates endless loop while it is loaded...

There are other issues too. The with-open-file lexically encompasses code with an open stream (it opens the stream execute the code inside and closes the stream), but it appears you want to open the outside stream from let . For that you have functions: open , close and open-stream-p . Moreover, i'd...
by Goheeca
Fri Mar 27, 2015 12:26 am
Forum: Emacs Lisp
Topic: Problem with add hook comments
Replies: 3
Views: 8227

Re: Problem with add hook comments

Just try

Code: Select all

(line-number-mode 1)
in the .emacs file alone, it's doing nothing. I'm using

Code: Select all

(global-linum-mode t)
therefore try to replace it in your code.
by Goheeca
Fri Mar 27, 2015 12:09 am
Forum: Common Lisp
Topic: The very beginning of a talking program - error
Replies: 1
Views: 3117

Re: The very beginning of a talking program - error

The defun isn't a special construction, the parenthesis has to be in front of it.

Code: Select all

(defun read-input ()
  (format t "Enter text: ")
  (let ((s (read-line)))
    (format t "You entered: ~a~%" s)))
by Goheeca
Mon Jan 05, 2015 1:35 pm
Forum: Scheme
Topic: Problem Solving With Limited Resources
Replies: 3
Views: 6476

Re: Problem Solving With Limited Resources

Yeah, one must change the approach (in functional programming), be more declarative than imperative. Right now, I'm learning Haskell (deeper and deeper) and the pure functional programming has its own glamour.