-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
👋 Is ColoredPrintf
expected to work with F# 5 string interpolation?
(tasks
|> Array.iter (fun t -> colorprintf $"$gray[{t.Title}]"))
throws this error
Unhandled exception. System.Exception: Expected function with 1 arguments
at BlackFox.MasterOfFoo.Core.PrintfBuilding.go@356-3(Int32 n, Type[] buf, Type ty, Int32 i)
at BlackFox.MasterOfFoo.Core.PrintfBuilding.extractCurriedArguments(Type ty, Int32 n)
at BlackFox.MasterOfFoo.Core.PrintfBuilding.PrintfBuilder`3.parseFromFormatSpecifier(PrintableElement prefix, String s, Type funcTy, Int32 i)
at BlackFox.MasterOfFoo.Core.PrintfBuilding.PrintfBuilder`3.parseFormatString(String s, Type funcTy)
at BlackFox.MasterOfFoo.Core.PrintfBuilding.PrintfBuilder`3.Build[T](String s)
at BlackFox.MasterOfFoo.Core.PrintfCache.Cache`4.generate(String fmt)
at [email protected](String delegateArg0)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at BlackFox.MasterOfFoo.MasterOfFooModule.doPrintfFromEnv[Printer,State,Residue,Result,a](PrintfFormat`4 format, a env)
Metadata
Metadata
Assignees
Labels
No labels