Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle comments in tables #1

Open
immoh opened this issue Dec 4, 2019 · 0 comments
Open

Handle comments in tables #1

immoh opened this issue Dec 4, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@immoh
Copy link
Owner

immoh commented Dec 4, 2019

Currenty this

 (tabular
      (fact "The rules of Conway's life"
        (alive? ?cell-status ?neighbor-count) => ?expected)
      ?cell-status   ?neighbor-count   ?expected
      :alive         1                 FALSEY        ; underpopulation
      :alive         2                 truthy       
      :alive         3                 truthy
      :alive         4                 FALSEY        ; overpopulation
     
      ;; A newborn cell has three parents
      :dead          2                 FALSEY
      :dead          3                 truthy
      :dead          4                 FALSEY)

gets formatted to

(tabular
      (fact "The rules of Conway's life"
        (alive? ?cell-status ?neighbor-count) => ?expected)
      ?cell-status ?neighbor-count ?expected
      :alive       1               FALSEY
; underpopulation
      :alive       2               truthy
      :alive       3               truthy
      :alive       4               FALSEY
; overpopulation
;; A newborn cell has three parents
      :dead        2               FALSEY
      :dead        3               truthy
      :dead        4               FALSEY)

Objective would be to keep comments where they are.

@immoh immoh added the help wanted Extra attention is needed label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant