You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAICT, there's no easy (and discoverable) way to get a function :: FilePath -> Text; the closest thing I can find is fromRight . toText, which involves using the (now deprecated) package system-filepath directly as well as an unsafe function (which, apparently, is not provided by base).
The text was updated successfully, but these errors were encountered:
I think I should probably expand the tutorial to mention the format fp trick and maybe also include an example of its use in Turtle.Prelude to ensure that people don't miss this. I agree that it's a pretty common idiom that is hard to discover.
AFAICT, there's no easy (and discoverable) way to get a function
:: FilePath -> Text
; the closest thing I can find isfromRight . toText
, which involves using the (now deprecated) packagesystem-filepath
directly as well as an unsafe function (which, apparently, is not provided bybase
).The text was updated successfully, but these errors were encountered: