We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0228e24 commit 06a9edcCopy full SHA for 06a9edc
System/OsString/Common.hs
@@ -296,12 +296,14 @@ encodeLE = fmap PosixString . encodeWithBasePosix'
296
#endif
297
298
#ifdef WINDOWS
299
--- | Like 'encodeFS', but not in IO.
+-- | Like 'encodeLE but not in IO.
300
--
301
--- 'encodeFS' was designed to have a symmetric type signature
+-- 'encodeLE' was designed to have a symmetric type signature
302
-- on unix and windows, but morally the function has no IO effects on windows,
303
-- so we provide this variant without breaking existing API.
304
305
+-- On windows, 'encodeLE' is equivalent to 'encodeFS'.
306
+--
307
-- This function does not exist on unix.
308
309
-- @since 2.0.6
0 commit comments