Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Apr 15, 2024
1 parent 2319481 commit 40009a2
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
span.hljs-tag, span.hljs-symbol{
background: none;
}
</style><title>PPrint 0.7.0</title><script src="scripts.js"></script></head><body><div>
</style><title>PPrint </title><script src="scripts.js"></script></head><body><div>
<a href="https://github.com/lihaoyi/pprint"><img style="position: absolute;top: 0px;right: 0px;border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" /></a>


Expand All @@ -71,7 +71,7 @@
ga('send', 'pageview');

</script>
<div style="margin: 0px;color: #333;text-align: center;padding: 2.5em 2em 0;border-bottom: 1px solid #eee;display: block;" id="PPrint0.7.0" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><h1 style="margin: 0.2em 0;font-size: 3em;font-weight: 300;">PPrint 0.7.0<a class=" scalatex-site-Styles-headerLink" href="#PPrint0.7.0" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a></h1><br /></div><div class=" scalatex-site-Styles-content">
<div style="margin: 0px;color: #333;text-align: center;padding: 2.5em 2em 0;border-bottom: 1px solid #eee;display: block;" id="PPrint" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><h1 style="margin: 0.2em 0;font-size: 3em;font-weight: 300;">PPrint <a class=" scalatex-site-Styles-headerLink" href="#PPrint" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a></h1><br /><h2 style="font-weight: 300;color: #ccc;padding: 0px;margin-top: 0px;">0.9.0</h2></div><div class=" scalatex-site-Styles-content">
<img src="Example.png" alt="Example use case of PPrint" style="height: 767px;margin-left: auto;margin-right: auto;display: block;" />
<p>
PPrint is a module that lets you easily print data structures in a form that is more convenient to use both visually and programmatically. Unlike a traditional <code class="scala scalatex-site-Styles-highlightMe" style="display: inline;padding: 0px;margin: 0px;">.toString</code>, PPrint...
Expand All @@ -98,12 +98,12 @@
<p>
Add the following to your build config:</p>
<pre><code class="scala scalatex-site-Styles-highlightMe">// SBT
libraryDependencies += &quot;com.lihaoyi&quot; %% &quot;pprint&quot; % &quot;0.7.0&quot;
libraryDependencies += &quot;com.lihaoyi&quot; %%% &quot;pprint&quot; % &quot;0.7.0&quot; // Scala.js/Native
libraryDependencies += &quot;com.lihaoyi&quot; %% &quot;pprint&quot; % &quot;0.9.0&quot;
libraryDependencies += &quot;com.lihaoyi&quot; %%% &quot;pprint&quot; % &quot;0.9.0&quot; // Scala.js/Native

// Mill
ivy&quot;com.lihaoyi::pprint:0.7.0&quot;
ivy&quot;com.lihaoyi::pprint::0.7.0&quot; // Scala.js/Native
ivy&quot;com.lihaoyi::pprint:0.9.0&quot;
ivy&quot;com.lihaoyi::pprint::0.9.0&quot; // Scala.js/Native
</code></pre>
<p>
The above example then showed how to use the default pprint configuration. You can also set up your own custom implicit `pprint.Config` if you want to control e.g. colors, width, or max-height of the output.</p>
Expand Down Expand Up @@ -275,6 +275,27 @@
</p>
<img src="TPrintCustom.png" alt="Example use case of Custom TPrint" style="height: 359px;margin-left: auto;margin-right: auto;display: block;" />
<div style="margin: 0px;color: #333;text-align: center;padding: 2.5em 2em 0;border-bottom: 1px solid #eee;display: block;" id="VersionHistory" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><h1 style="margin: 0.2em 0;font-size: 3em;font-weight: 300;">Version History<a class=" scalatex-site-Styles-headerLink" href="#VersionHistory" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a></h1><br /></div>
<h1 id="0.9.0" style="display: block;" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><a class=" scalatex-site-Styles-headerLink" href="#0.9.0" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a>0.9.0</h1>
<ul>
<li>
Support for Scala-Native 0.5.0</li>
<li>
Dropped support for Scala 2.11.x</li>
<li>
Minimum version of Scala 3 increased to 3.3.1
</li></ul>
<h1 id="0.7.3" style="display: block;" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><a class=" scalatex-site-Styles-headerLink" href="#0.7.3" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a>0.7.3</h1>
<ul>
<li>
Add support for Polytypes <a href="https://github.com/com-lihaoyi/PPrint/pull/79">#79</a></li></ul>
<h1 id="0.7.2" style="display: block;" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><a class=" scalatex-site-Styles-headerLink" href="#0.7.2" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a>0.7.2</h1>
<ul>
<li>
Support Scala Native on Scala 3 <a href="https://github.com/com-lihaoyi/PPrint/pull/77">#75</a></li></ul>
<h1 id="0.7.1" style="display: block;" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><a class=" scalatex-site-Styles-headerLink" href="#0.7.1" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a>0.7.1</h1>
<ul>
<li>
Fixes for pprinting and tprinting literal constants <a href="https://github.com/com-lihaoyi/PPrint/pull/75">#75</a></li></ul>
<h1 id="0.7.0" style="display: block;" class=" scalatex-site-Styles-hoverContainer scalatex-site-Styles-headerTag"><a class=" scalatex-site-Styles-headerLink" href="#0.7.0" style="position: absolute;right: 0px;"><i class="fa fa-link"></i></a>0.7.0</h1>
<ul>
<li>
Expand Down Expand Up @@ -422,7 +443,7 @@ <h1 id="0.3.0" style="display: block;" class=" scalatex-site-Styles-hoverContain
Shared case-class implicit-derivation back-end with uPickle, greatly expanding the scope of things that can be prettyprinted</li></ul></div>
</div><script>
scalatex.scrollspy.Controller().main(
[{"value":"PPrint 0.7.0","children":[{"value":"Getting Started","children":[]},{"value":"Streaming","children":[]},{"value":"Customization","children":[]},{"value":"TPrint","children":[]},{"value":"Version History","children":[{"value":"0.7.0","children":[]},{"value":"0.6.0","children":[]},{"value":"0.5.6","children":[]},{"value":"0.5.5","children":[]},{"value":"0.5.3","children":[]},{"value":"0.5.2","children":[]},{"value":"0.5.1","children":[]},{"value":"0.5.0","children":[]},{"value":"0.4.3","children":[]},{"value":"0.4.2","children":[]},{"value":"0.4.1","children":[]},{"value":"0.4.0","children":[]},{"value":"0.3.9","children":[]},{"value":"0.3.8","children":[]},{"value":"0.3.7","children":[]},{"value":"0.3.6","children":[]},{"value":"0.3.5","children":[]},{"value":"0.3.4","children":[]},{"value":"0.3.3","children":[]},{"value":"0.3.2","children":[]},{"value":"0.3.1","children":[]},{"value":"0.3.0","children":[]}]}]}]
[{"value":"PPrint ","children":[{"value":"Getting Started","children":[]},{"value":"Streaming","children":[]},{"value":"Customization","children":[]},{"value":"TPrint","children":[]},{"value":"Version History","children":[{"value":"0.9.0","children":[]},{"value":"0.7.3","children":[]},{"value":"0.7.2","children":[]},{"value":"0.7.1","children":[]},{"value":"0.7.0","children":[]},{"value":"0.6.0","children":[]},{"value":"0.5.6","children":[]},{"value":"0.5.5","children":[]},{"value":"0.5.3","children":[]},{"value":"0.5.2","children":[]},{"value":"0.5.1","children":[]},{"value":"0.5.0","children":[]},{"value":"0.4.3","children":[]},{"value":"0.4.2","children":[]},{"value":"0.4.1","children":[]},{"value":"0.4.0","children":[]},{"value":"0.3.9","children":[]},{"value":"0.3.8","children":[]},{"value":"0.3.7","children":[]},{"value":"0.3.6","children":[]},{"value":"0.3.5","children":[]},{"value":"0.3.4","children":[]},{"value":"0.3.3","children":[]},{"value":"0.3.2","children":[]},{"value":"0.3.1","children":[]},{"value":"0.3.0","children":[]}]}]}]
)</script><script>
['DOMContentLoaded', 'load'].forEach(function(ev){
addEventListener(ev, function(){
Expand All @@ -432,4 +453,4 @@ <h1 id="0.3.0" style="display: block;" class=" scalatex-site-Styles-hoverContain
);
})
})
</script></body></html>
</script></body></html>

0 comments on commit 40009a2

Please sign in to comment.