ihaskell-inline-r 0.1.0.0 → 0.1.1.0
raw patch · 3 files changed
+33/−1 lines, 3 files
Files
- LICENSE +27/−0
- ihaskell-inline-r.cabal +5/−1
- src/IHaskell/Display/InlineR.hs +1/−0
+ LICENSE view
@@ -0,0 +1,27 @@+Copyright (c) 2015 Tweag I/O Limited.++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions+are met:+1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.+2. Redistributions in binary form must reproduce the above copyright+ notice, this list of conditions and the following disclaimer in the+ documentation and/or other materials provided with the distribution.+3. The names of the author may not be used to endorse or promote+ products derived from this software without specific prior written+ permission.++THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF+SUCH DAMAGE.
ihaskell-inline-r.cabal view
@@ -1,8 +1,10 @@ name: ihaskell-inline-r-version: 0.1.0.0+version: 0.1.1.0 synopsis: Embed R quasiquotes and plots in IHaskell notebooks.+description: Embed R quasiquotes and plots in IHaskell notebooks. homepage: https://tweag.github.io/HaskellR/ license: BSD3+license-file: LICENSE author: Mathieu Boespflug, Alexander Vershilov maintainer: Alexander Vershilov <alexander.vershilov@tweag.io> copyright: Copyright (c) 2015, Tweag I/O Limited.@@ -22,6 +24,8 @@ ,base64-bytestring ,template-haskell ,temporary >= 1.2+ other-extensions: TemplateHaskell+ QuasiQuotes hs-source-dirs: src default-language: Haskell2010 ghc-options: -Wall
src/IHaskell/Display/InlineR.hs view
@@ -27,6 +27,7 @@ import System.IO.Temp (withSystemTempFile) import qualified Text.Blaze.Html5 as BH import qualified Text.Blaze.Html5.Attributes as BH+import Prelude -- Silence AMP warning rprint :: QuasiQuoter rprint = QuasiQuoter { quoteExp = \s -> [| do H.p $(quoteExp r s) |] }