{-# LINE 1 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
{-# LANGUAGE CPP, ExistentialQuantification, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.FileBrowser
(
fileBrowserNew,
fileBrowserCustom,
FileBrowserType(..),
FileSortF,
numericSort,
alphaSort,
caseAlphaSort,
caseNumericSort
)
where
import qualified Foreign.C.Types as C2HSImp
import qualified Foreign.Ptr as C2HSImp
import C2HS hiding (cFromEnum, cFromBool, cToBool,cToEnum)
import Graphics.UI.FLTK.LowLevel.Fl_Types
import Graphics.UI.FLTK.LowLevel.Utils
import Graphics.UI.FLTK.LowLevel.Hierarchy
import Graphics.UI.FLTK.LowLevel.Dispatch
import qualified Data.Text as T
import Graphics.UI.FLTK.LowLevel.Fl_Enumerations
import Graphics.UI.FLTK.LowLevel.Widget
type FileSortF = C2HSImp.FunPtr (((C2HSImp.Ptr (C2HSImp.Ptr ())) -> ((C2HSImp.Ptr (C2HSImp.Ptr ())) -> (IO C2HSImp.CInt))))
{-# LINE 39 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
overriddenWidgetNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (T.Text) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWidgetNewWithLabel' a1 a2 a3 a4 a5 a6 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = unsafeToCString a5} in
let {a6' = id a6} in
overriddenWidgetNewWithLabel''_ a1' a2' a3' a4' a5' a6' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 41 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
overriddenWidgetNew' :: (Int) -> (Int) -> (Int) -> (Int) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWidgetNew' a1 a2 a3 a4 a5 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = id a5} in
overriddenWidgetNew''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 42 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
fileBrowserCustom ::
Rectangle
-> Maybe T.Text
-> Maybe (Ref FileBrowser -> IO ())
-> Maybe (CustomWidgetFuncs FileBrowser)
-> IO (Ref FileBrowser)
fileBrowserCustom rectangle l' draw' funcs' =
widgetMaker
rectangle
l'
draw'
funcs'
overriddenWidgetNew'
overriddenWidgetNewWithLabel'
fileBrowserNew' :: (Int) -> (Int) -> (Int) -> (Int) -> IO ((Ptr ()))
fileBrowserNew' a1 a2 a3 a4 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
fileBrowserNew''_ a1' a2' a3' a4' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 58 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
fileBrowserNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (T.Text) -> IO ((Ptr ()))
fileBrowserNewWithLabel' a1 a2 a3 a4 a5 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = unsafeToCString a5} in
fileBrowserNewWithLabel''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 59 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
fileBrowserNew :: Rectangle -> Maybe T.Text -> IO (Ref FileBrowser)
fileBrowserNew rectangle l'=
let (x_pos, y_pos, width, height) = fromRectangle rectangle
in case l' of
Nothing -> fileBrowserNew' x_pos y_pos width height >>=
toRef
Just l -> fileBrowserNewWithLabel' x_pos y_pos width height l >>=
toRef
setIconsize' :: (Ptr ()) -> (CUChar) -> IO ()
setIconsize' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
setIconsize''_ a1' a2' >>
return ()
{-# LINE 69 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (CUChar -> IO ())) => Op (SetIconsize ()) FileBrowser orig impl where
runOp _ _ fileBrowser text = withRef fileBrowser $ \fileBrowserPtr -> setIconsize' fileBrowserPtr text
iconsize' :: (Ptr ()) -> IO ((CUChar))
iconsize' a1 =
let {a1' = id a1} in
iconsize''_ a1' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 72 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO (CUChar))) => Op (GetIconsize ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> iconsize' fileBrowserPtr
setFilter' :: (Ptr ()) -> (T.Text) -> IO ()
setFilter' a1 a2 =
let {a1' = id a1} in
let {a2' = unsafeToCString a2} in
setFilter''_ a1' a2' >>
return ()
{-# LINE 75 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (T.Text -> IO ())) => Op (SetFilter ()) FileBrowser orig impl where
runOp _ _ fileBrowser text = withRef fileBrowser $ \fileBrowserPtr -> setFilter' fileBrowserPtr text
filter' :: (Ptr ()) -> IO ((T.Text))
filter' a1 =
let {a1' = id a1} in
filter''_ a1' >>= \res ->
let {res' = unsafeFromCString res} in
return (res')
{-# LINE 78 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO T.Text)) => Op (GetFilter ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> filter' fileBrowserPtr
setTextsize' :: (Ptr ()) -> (CInt) -> IO ()
setTextsize' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
setTextsize''_ a1' a2' >>
return ()
{-# LINE 81 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (FontSize -> IO ())) => Op (SetTextsize ()) FileBrowser orig impl where
runOp _ _ fileBrowser (FontSize text) = withRef fileBrowser $ \fileBrowserPtr -> setTextsize' fileBrowserPtr text
textsize' :: (Ptr ()) -> IO ((CInt))
textsize' a1 =
let {a1' = id a1} in
textsize''_ a1' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 84 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO (FontSize))) => Op (GetTextsize ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> textsize' fileBrowserPtr >>= return . FontSize
setFileType' :: (Ptr ()) -> (Word8) -> IO ((()))
setFileType' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
setFileType''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 87 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (FileBrowserType -> IO ())) => Op (SetFiletype ()) FileBrowser orig impl where
runOp _ _ widget t = withRef widget $ \widgetPtr -> setFileType' widgetPtr (fromInteger $ toInteger $ fromEnum t)
filetype' :: (Ptr ()) -> IO ((Word8))
filetype' a1 =
let {a1' = id a1} in
filetype''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 90 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ IO (FileBrowserType)) => Op (GetFiletype ()) FileBrowser orig impl where
runOp _ _ widget = withRef widget $ \widgetPtr -> filetype' widgetPtr >>= return . toEnum . fromInteger . toInteger
load' :: (Ptr ()) -> (T.Text) -> (FileSortF) -> IO ((CInt))
load' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = unsafeToCString a2} in
let {a3' = id a3} in
load''_ a1' a2' a3' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 93 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (T.Text -> FileSortF -> IO (Either UnknownError ()))) => Op (Load ()) FileBrowser orig impl where
runOp _ _ widget dir sortF = withRef widget $ \widgetPtr -> do
status <- load' widgetPtr dir sortF
return (if (status == 0) then (Left UnknownError) else (Right ()))
draw'' :: (Ptr ()) -> IO ()
draw'' a1 =
let {a1' = id a1} in
draw'''_ a1' >>
return ()
{-# LINE 99 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO ())) => Op (Draw ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> draw'' fileBrowserPtr
drawSuper' :: (Ptr ()) -> IO ((()))
drawSuper' a1 =
let {a1' = id a1} in
drawSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 102 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO ())) => Op (DrawSuper ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> drawSuper' fileBrowserPtr
fileBrowserHandle' :: (Ptr ()) -> (CInt) -> IO ((Int))
fileBrowserHandle' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
fileBrowserHandle''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 105 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (Handle ()) FileBrowser orig impl where
runOp _ _ fileBrowser event = withRef fileBrowser (\p -> fileBrowserHandle' p (fromIntegral . fromEnum $ event)) >>= return . successOrUnknownEvent
handleSuper' :: (Ptr ()) -> (Int) -> IO ((Int))
handleSuper' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
handleSuper''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 108 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (HandleSuper ()) FileBrowser orig impl where
runOp _ _ fileBrowser event = withRef fileBrowser $ \fileBrowserPtr -> handleSuper' fileBrowserPtr (fromIntegral (fromEnum event)) >>= return . successOrUnknownEvent
resize' :: (Ptr ()) -> (Int) -> (Int) -> (Int) -> (Int) -> IO ((()))
resize' a1 a2 a3 a4 a5 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = fromIntegral a5} in
resize''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 111 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (Resize ()) FileBrowser orig impl where
runOp _ _ fileBrowser rectangle = withRef fileBrowser $ \fileBrowserPtr -> do
let (x_pos,y_pos,w_pos,h_pos) = fromRectangle rectangle
resize' fileBrowserPtr x_pos y_pos w_pos h_pos
resizeSuper' :: (Ptr ()) -> (Int) -> (Int) -> (Int) -> (Int) -> IO ((()))
resizeSuper' a1 a2 a3 a4 a5 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = fromIntegral a5} in
resizeSuper''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 116 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (ResizeSuper ()) FileBrowser orig impl where
runOp _ _ fileBrowser rectangle =
let (x_pos, y_pos, width, height) = fromRectangle rectangle
in withRef fileBrowser $ \fileBrowserPtr -> resizeSuper' fileBrowserPtr x_pos y_pos width height
hide' :: (Ptr ()) -> IO ()
hide' a1 =
let {a1' = id a1} in
hide''_ a1' >>
return ()
{-# LINE 121 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO ())) => Op (Hide ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> hide' fileBrowserPtr
hideSuper' :: (Ptr ()) -> IO ((()))
hideSuper' a1 =
let {a1' = id a1} in
hideSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 124 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO ())) => Op (HideSuper ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> hideSuper' fileBrowserPtr
show' :: (Ptr ()) -> IO ()
show' a1 =
let {a1' = id a1} in
show''_ a1' >>
return ()
{-# LINE 127 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO ())) => Op (ShowWidget ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> show' fileBrowserPtr
showSuper' :: (Ptr ()) -> IO ((()))
showSuper' a1 =
let {a1' = id a1} in
showSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 130 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
instance (impl ~ ( IO ())) => Op (ShowWidgetSuper ()) FileBrowser orig impl where
runOp _ _ fileBrowser = withRef fileBrowser $ \fileBrowserPtr -> showSuper' fileBrowserPtr
numericSort :: IO ((FileSortF))
numericSort =
numericSort'_ >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 135 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
alphaSort :: IO ((FileSortF))
alphaSort =
alphaSort'_ >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 136 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
caseAlphaSort :: IO ((FileSortF))
caseAlphaSort =
caseAlphaSort'_ >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 137 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
caseNumericSort :: IO ((FileSortF))
caseNumericSort =
caseNumericSort'_ >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 138 "src/Graphics/UI/FLTK/LowLevel/FileBrowser.chs" #-}
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_OverriddenFile_Browser_New_WithLabel"
overriddenWidgetNewWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ()))))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_OverriddenFile_Browser_New"
overriddenWidgetNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_New"
fileBrowserNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_New_WithLabel"
fileBrowserNewWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_set_iconsize"
setIconsize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CUChar -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_iconsize"
iconsize''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CUChar))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_set_filter"
setFilter''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_filter"
filter''_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr C2HSImp.CChar)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_set_textsize"
setTextsize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_textsize"
textsize''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_set_filetype"
setFileType''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_filetype"
filetype''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_load"
load''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CChar) -> ((FileSortF) -> (IO C2HSImp.CInt))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_draw"
draw'''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_draw_super"
drawSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_handle"
fileBrowserHandle''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_handle_super"
handleSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_resize"
resize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_resize_super"
resizeSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_hide"
hide''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_hide_super"
hideSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_show"
show''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h Fl_File_Browser_show_super"
showSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h fl_numericsort_reference"
numericSort'_ :: (IO (FileSortF))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h fl_alphasort_reference"
alphaSort'_ :: (IO (FileSortF))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h fl_casealphasort_reference"
caseAlphaSort'_ :: (IO (FileSortF))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/FileBrowser.chs.h fl_casenumericsort_reference"
caseNumericSort'_ :: (IO (FileSortF))