On 23 May 2014 18:11, Gurjot Singh <bhattigur...@gmail.com> wrote: > This error was solved(with the help from Nala) by replacing () with > '() in .scm file. > But now the following error comes up: > ice-9/psyntax.scm:1274:12: In procedure #<procedure 195c900 at > ice-9/psyntax.scm:1082:36 ()>: > ice-9/psyntax.scm:1274:12: Syntax error: > unknown location: unexpected syntax in form define > > I think this is the syntax error in .scm files. > Any guidance?
This was solved(with the help of lloda on #guile IRC) by changing the syntax of define. For example- Old syntax: (define дефиниши define) New syntax: (define-syntax дефиниши (syntax-rules () ((_ args ...) (define args ...)))) Thanks lloda :-) -- Gurjot Singh Blog: http://bhattigurjot.wordpress.com "You gotta get hurt 'cause that's how you'll learn, You gotta try your hardest no matter how much you'll burn." ~ Scott Singh