Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
  4. <head>
  5.   <meta charset="utf-8" />
  6.   <meta name="generator" content="pandoc" />
  7.   <title>Dependency versions</title>
  8.   <style>
  9. code.sourceCode > span { display: inline-block; line-height: 1.25; }
  10. code.sourceCode > span { color: inherit; text-decoration: inherit; }
  11. code.sourceCode > span:empty { height: 1.2em; }
  12. .sourceCode { overflow: visible; }
  13. code.sourceCode { white-space: pre; position: relative; }
  14. div.sourceCode { margin: 1em 0; }
  15. pre.sourceCode { margin: 0; }
  16. @media screen {
  17. div.sourceCode { overflow: auto; }
  18. }
  19. @media print {
  20. code.sourceCode { white-space: pre-wrap; }
  21. code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
  22. }
  23. pre.numberSource code
  24.   { counter-reset: source-line 0; }
  25. pre.numberSource code > span
  26.   { position: relative; left: -4em; counter-increment: source-line; }
  27. pre.numberSource code > span > a:first-child::before
  28.   { content: counter(source-line);
  29.     position: relative; left: -1em; text-align: right; vertical-align: baseline;
  30.     border: none; display: inline-block;
  31.     -webkit-touch-callout: none; -webkit-user-select: none;
  32.     -khtml-user-select: none; -moz-user-select: none;
  33.     -ms-user-select: none; user-select: none;
  34.     padding: 0 4px; width: 4em;
  35.     color: #aaaaaa;
  36.   }
  37. pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa;  padding-left: 4px; }
  38. div.sourceCode
  39.   {   }
  40. @media screen {
  41. code.sourceCode > span > a:first-child::before { text-decoration: underline; }
  42. }
  43. code span.al { color: #ff0000; font-weight: bold; } /* Alert */
  44. code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
  45. code span.at { color: #7d9029; } /* Attribute */
  46. code span.bn { color: #40a070; } /* BaseN */
  47. code span.bu { } /* BuiltIn */
  48. code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
  49. code span.ch { color: #4070a0; } /* Char */
  50. code span.cn { color: #880000; } /* Constant */
  51. code span.co { color: #60a0b0; font-style: italic; } /* Comment */
  52. code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
  53. code span.do { color: #ba2121; font-style: italic; } /* Documentation */
  54. code span.dt { color: #902000; } /* DataType */
  55. code span.dv { color: #40a070; } /* DecVal */
  56. code span.er { color: #ff0000; font-weight: bold; } /* Error */
  57. code span.ex { } /* Extension */
  58. code span.fl { color: #40a070; } /* Float */
  59. code span.fu { color: #06287e; } /* Function */
  60. code span.im { } /* Import */
  61. code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
  62. code span.kw { color: #007020; font-weight: bold; } /* Keyword */
  63. code span.op { color: #666666; } /* Operator */
  64. code span.ot { color: #007020; } /* Other */
  65. code span.pp { color: #bc7a00; } /* Preprocessor */
  66. code span.sc { color: #4070a0; } /* SpecialChar */
  67. code span.ss { color: #bb6688; } /* SpecialString */
  68. code span.st { color: #4070a0; } /* String */
  69. code span.va { color: #19177c; } /* Variable */
  70. code span.vs { color: #4070a0; } /* VerbatimString */
  71. code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
  72.   </style>
  73.   <link rel="stylesheet" type="text/css" href="../styles/stylesheet1.css" />
  74.   <link rel="stylesheet" type="text/css" href="../styles/stylesheet2.css" />
  75. </head>
  76. <body epub:type="bodymatter">
  77. <section id="dependency-versions" class="level1">
  78. <h1>Dependency versions</h1>
  79. <p>All the examples use Scala 2.13.0 and Sbt 1.3.1 as well as the following dependencies defined in this minimal <code>build.sbt</code> file:</p>
  80. <div class="sourceCode" id="cb1"><pre class="sourceCode scala"><code class="sourceCode scala"><span id="cb1-1"><a href="#cb1-1"></a>ThisBuild / scalaVersion := <span class="st">&quot;2.13.0&quot;</span></span>
  81. <span id="cb1-2"><a href="#cb1-2"></a></span>
  82. <span id="cb1-3"><a href="#cb1-3"></a>libraryDependencies ++= Seq(</span>
  83. <span id="cb1-4"><a href="#cb1-4"></a>  <span class="fu">compilerPlugin</span>(<span class="st">&quot;org.typelevel&quot;</span> %% <span class="st">&quot;kind-projector&quot;</span> % <span class="st">&quot;0.10.3&quot;</span>),</span>
  84. <span id="cb1-5"><a href="#cb1-5"></a>  <span class="st">&quot;org.typelevel&quot;</span>  %% <span class="st">&quot;cats-core&quot;</span>    % <span class="st">&quot;2.0.0&quot;</span>,</span>
  85. <span id="cb1-6"><a href="#cb1-6"></a>  <span class="st">&quot;org.typelevel&quot;</span>  %% <span class="st">&quot;cats-effect&quot;</span>  % <span class="st">&quot;2.0.0&quot;</span>,</span>
  86. <span id="cb1-7"><a href="#cb1-7"></a>  <span class="st">&quot;dev.profunktor&quot;</span> %% <span class="st">&quot;console4cats&quot;</span> % <span class="st">&quot;0.8.0&quot;</span>,</span>
  87. <span id="cb1-8"><a href="#cb1-8"></a>  <span class="st">&quot;io.estatico&quot;</span>    %% <span class="st">&quot;newtype&quot;</span>      % <span class="st">&quot;0.4.3&quot;</span>,</span>
  88. <span id="cb1-9"><a href="#cb1-9"></a>  <span class="st">&quot;eu.timepit&quot;</span>     %% <span class="st">&quot;refined&quot;</span>      % <span class="st">&quot;0.9.10&quot;</span></span>
  89. <span id="cb1-10"><a href="#cb1-10"></a>)</span>
  90. <span id="cb1-11"><a href="#cb1-11"></a></span>
  91. <span id="cb1-12"><a href="#cb1-12"></a>scalacOptions += <span class="st">&quot;-Ymacro-annotations&quot;</span></span></code></pre></div>
  92. <p>The <code>sbt-tpolecat</code> plugin is also necessary. Here is a minimal <code>plugins.sbt</code> file:</p>
  93. <div class="sourceCode" id="cb2"><pre class="sourceCode scala"><code class="sourceCode scala"><span id="cb2-1"><a href="#cb2-1"></a><span class="fu">addSbtPlugin</span>(<span class="st">&quot;io.github.davidgregory084&quot;</span> % <span class="st">&quot;sbt-tpolecat&quot;</span> % <span class="st">&quot;0.1.6&quot;</span>)</span></code></pre></div>
  94. </section>
  95. </body>
  96. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement