Skip to content

fixed missing dependency for string-null? in sxml-parser#14

Open
ovenpasta wants to merge 3 commits into
alvatar:masterfrom
ovenpasta:master
Open

fixed missing dependency for string-null? in sxml-parser#14
ovenpasta wants to merge 3 commits into
alvatar:masterfrom
ovenpasta:master

Conversation

@ovenpasta

Copy link
Copy Markdown
Contributor

Problem:

> (load (spheres/markup sxml-parser))
> (xml-string->sxml "<html><head><title>CIAO</title></head><body background=\"white\"><p>MONDO</p></body></html>")
*** ERROR IN #<procedure #3> -- Unbound variable: spheres/core#base#string-null?

after fix:

> (load (spheres/markup sxml-parser))                                                                             
> (xml-string->sxml "<html><head><title>CIAO</title></head><body background=\"white\"><p>MONDO</p></body></html>")
(*TOP* (html (head (title "CIAO")) (body (@ (background "white")) (p "MONDO"))))

@alvatar

alvatar commented Oct 22, 2015

Copy link
Copy Markdown
Owner

Awesome!!
By the way, I think you have to put the all the imports inside the same import clause:

(import (spheres/core base)
        (spheres/string string))

Even if it works, I don't really know if it is expected to.

@ovenpasta

Copy link
Copy Markdown
Contributor Author

Sir, it's just the opposite, if I write (import (spheres/core base) (spheres/string string)) then it does not work

@alvatar

alvatar commented Oct 22, 2015

Copy link
Copy Markdown
Owner

That is wrong... something fishy is going on. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants