Arena makes it very easy to launch a playground with a Swift package to experiment with its features – a single command line invocation gets you there.
But wouldn't it be even nicer if package authors could also provide some instructive examples for their package that you can then immediately run and explore?
Arena 1.2 supports this by looking for a .arena-sample.swift
file in a Swift package repository. If that file exists, its contents will be copied into the newly created playground.
See the .arena-sample.swift
file in my Parser library for an example what this can look like.