module Agda.Interaction.Options.IORefs
( UnicodeOrAscii(..)
, unicodeOrAscii
) where
import Data.IORef
import qualified System.IO.Unsafe as UNSAFE
data UnicodeOrAscii = UnicodeOk | AsciiOnly
{-# NOINLINE unicodeOrAscii #-}
unicodeOrAscii :: IORef UnicodeOrAscii
unicodeOrAscii :: IORef UnicodeOrAscii
unicodeOrAscii = IO (IORef UnicodeOrAscii) -> IORef UnicodeOrAscii
forall a. IO a -> a
UNSAFE.unsafePerformIO (IO (IORef UnicodeOrAscii) -> IORef UnicodeOrAscii)
-> IO (IORef UnicodeOrAscii) -> IORef UnicodeOrAscii
forall a b. (a -> b) -> a -> b
$ UnicodeOrAscii -> IO (IORef UnicodeOrAscii)
forall a. a -> IO (IORef a)
newIORef UnicodeOrAscii
UnicodeOk