Skip to content

space is not left for empty diagram when using e.g. hcat' with {sep = ... } #3

Closed
@fryguybob

Description

@fryguybob

(Imported from http://code.google.com/p/diagrams/issues/detail?id=32. Original issue from [email protected] on May 24, 2011, 10:09:35 PM UTC)

I was surprised today to find that

hcat' with {sep = 1} [square, mempty, square]

and

hcat' with {sep = 1} [square, square]

produce the same output. However, the first ought to produce two squares with two units of space between them: one unit between the first square and mempty, and one unit between mempty and the second square.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions