File: ExtraInstances.hs

package info (click to toggle)
haskell-text-builder-dev 0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104 kB
  • sloc: haskell: 587; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
{-# OPTIONS_GHC -Wno-orphans #-}

module Util.ExtraInstances where

import qualified Data.Text.Lazy.Builder as TextLazyBuilder
import Test.QuickCheck
import Test.QuickCheck.Instances ()
import Prelude

instance Arbitrary TextLazyBuilder.Builder where
  arbitrary =
    TextLazyBuilder.fromLazyText <$> arbitrary