This blog post was generated from Unison

This blog was generated from the same Unison Doc type used for API docs and READMEs on Unison Share and is hosted with the Unison Cloud.

👋
If you’d like to make your own blog, check out @unison/blog-engine to learn more. The blogging engine supports RSS and Atom feeds, and email subscriptions.

Including code in your blog post

Here's an example of including some Unison source code, using the @source{..} syntax. Everything in the Unison code snippet is hyperlinked, taking you to the definition of the code on Unison Share:

List.flatMap : (a ->{e} [b]) -> [a] ->{e} [b]
List.flatMap f =
  use List ++
  List.foldLeft (acc e -> acc ++ f e) []

You can also include evaluated Unison expressions:

Other languages receive syntax highlighting when included in fenced code blocks; here's some Ruby:

def greet name
  puts "Hello " + name
end

Including special content

You can also make use of mathematical notation in your posts, for instance Euler's identity has been called one of the most beautiful equations in all of mathematics.

Or mermaid diagrams for flowcharts, sequence diagrams, or Gantt charts: