GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hslua-oo: make fields of UDTypeGeneric strict · hslua/hslua@addc834

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • hslua-objectorientation/src/HsLua/ObjectOrientation
    • Generic.hs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎hslua-objectorientation/src/HsLua/ObjectOrientation/Generic.hs‎

Copy file name to clipboardExpand all lines: hslua-objectorientation/src/HsLua/ObjectOrientation/Generic.hs
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ import qualified HsLua.Core.Utf8 as Utf8
7272
-- This type includes methods to define how the object should behave as
7373
-- a read-only list of type @itemtype@.
7474
data UDTypeGeneric e fn a extension = UDType
75-
{ udName :: Name
76-
, udOperations :: [(Operation, fn)]
77-
, udProperties :: Map Name (Property e a)
78-
, udMethods :: Map Name fn
79-
, udAliases :: Map AliasIndex Alias
80-
, udExtension :: extension
81-
, udFnPusher :: fn -> LuaE e ()
75+
{ udName :: !Name
76+
, udOperations :: ![(Operation, fn)]
77+
, udProperties :: !(Map Name (Property e a))
78+
, udMethods :: !(Map Name fn)
79+
, udAliases :: !(Map AliasIndex Alias)
80+
, udExtension :: !extension
81+
, udFnPusher :: !(fn -> LuaE e ())
8282
}
8383

8484
-- | Typeclass for data userdata object extensions.

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.