Skip to content

Conversation

@dan-zheng
Copy link
Contributor

Make commutative diagrams pretty using Unicode box characters.
Use lowercase letters for arrow names.


Rationale: if we're going to draw a diagram, we might as well make it as pretty as possible. Maintenance shouldn't be an issue.

Unicode resource: https://antofthy.gitlab.io/info/data/utf8-demo.txt

Inspired by: https://twitter.com/lexi_lambda/status/1255988716390297601

Make commutative diagrams pretty using Unicode box characters.
Use lowercase letters for arrow names.
@dan-zheng dan-zheng requested review from marcrasi and rxwei May 4, 2020 03:02
@dan-zheng
Copy link
Contributor Author

@swift-ci Please smoke test

// preserving SIL typing invariants.
//
// Always use (AD) to compute lowered derivative function types.
// Always use (ad) to compute lowered derivative function types.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice autodiff pun: Always use (ad)

@dan-zheng
Copy link
Contributor Author

Linux CI seems to have flaked.
@swift-ci Please smoke test Linux

@dan-zheng
Copy link
Contributor Author

@swift-ci Please smoke test Linux

@dan-zheng dan-zheng merged commit 31af116 into swiftlang:master May 4, 2020
@dan-zheng dan-zheng deleted the autodiff-gardening branch May 4, 2020 09:41
rxwei pushed a commit to rxwei/swift that referenced this pull request Jun 3, 2020
Make commutative diagrams pretty using Unicode box characters.
Use lowercase letters for arrow names.
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