-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathClasses.hs
More file actions
39 lines (37 loc) · 1.02 KB
/
Classes.hs
File metadata and controls
39 lines (37 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{-|
Module : HsLua.Classes
Copyright : © 2007–2012 Gracjan Polak;
© 2012–2016 Ömer Sinan Ağacan;
© 2017-2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <tarleb+hslua@zeitkraut.de>
Stability : beta
Portability : non-portable (depends on GHC)
Convenience module which re-exports all classes and utility functions
provided by the /hslua-classes/ package.
-}
module HsLua.Classes
( -- * Receiving values from Lua stack (Lua → Haskell)
Peekable (..)
, peekEither
, peekList
, peekKeyValuePairs
-- * Pushing values to Lua stack (Haskell → Lua)
, Pushable (..)
, pushList
-- * Calling Functions
, Exposable (..)
, toHaskellFunction
, invoke
, registerHaskellFunction
-- * Utility functions and types
, raiseError
, Optional (Optional, fromOptional)
-- ** Retrieving values
, popValue
) where
import HsLua.Class.Exposable
import HsLua.Class.Invokable
import HsLua.Class.Peekable
import HsLua.Class.Pushable
import HsLua.Class.Util