Skip to content

Commit

Permalink
doc: cleanup examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Apr 22, 2024
1 parent f17470b commit 98e7893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Example.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Extism.HostFunction
import Extism.JSON
import Extism.Manifest (manifest, wasmFile)

newtype Count = Count {count :: Int} deriving (Data, Typeable, Show)
newtype Count = Count {count :: Int} deriving (Data, Show)

hello currPlugin msg = do
putStrLn . unwrap <$> input currPlugin 0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ import Extism.HostFunction
import Extism.JSON
import Extism.Manifest (manifest, wasmFile)

newtype Count = Count {count :: Int} deriving (Data, Typeable, Show)
newtype Count = Count {count :: Int} deriving (Data, Show)

hello currPlugin msg = do
putStrLn . unwrap <$> input currPlugin 0
Expand Down

0 comments on commit 98e7893

Please sign in to comment.