Forums

[Plugin: WP-Syntax] Forward slash greater than shows up (3 posts)

  1. grettke
    Member
    Posted 3 years ago #

    When I try this Scheme code at the GeSHi demo site I get what I expect:

    (define pam
      (lambda (datum . proc-list)
        ((apply compose proc-list) datum)))
    
    (pam
     2
     (lambda (n) (/ n 7))
     (lambda (n) (- n 3))
     (lambda (n) (+ n 10))
     (lambda (n) (* n 7)))

    but when I run it through Wp-Syntax (with no other plugins installed) I get

    (define pam
      (lambda (datum . proc-list)
        ((apply compose proc-list) datum)))
    
    (pam
     />2
     (lambda (n) (/ n />7))
     (lambda (n) (- n />3))
     (lambda (n) (+ n />10))
     (lambda (n) (* n />7)))
    
    > />3

    Forward slash greater than shows up before the numbers.

  2. rmm5t
    Member
    Posted 3 years ago #

    WP-Syntax is currently 1 revision behind on GeSHi. I'll try to update WP-Syntax to use the latest version sometime this week. Hopefully, that fixes your issue.

  3. grettke
    Member
    Posted 3 years ago #

    Thanks Ryan! It is fixed in wp-syntax.0.9.1.

    For proof, here are a two posts that use it that now render properly:

    http://www.wisdomandwonder.com/link/101/composing-functions-with-scheme
    http://www.wisdomandwonder.com/article/527/sequencing-in-scheme

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags