File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/ParallelTypeCheckingTests/Code/TrieApproach Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ module Continuation =
1212
1313type Continuations = (( FileContentEntry list -> FileContentEntry list) -> FileContentEntry list) list
1414
15+ /// Option.toList >> (List.collect f)
1516let cfo f a = lc f ( Option.toList a)
17+ /// List.collect
1618let lc = List.collect
1719
18- let identToPath ( ident : Ident ) = ident.idText
19-
2020let longIdentToPath ( skipLast : bool ) ( longId : LongIdent ) : ModuleSegment list =
2121 if skipLast then
2222 List.take ( longId.Length - 1 ) longId
2323 else
2424 longId
25- |> List.map identToPath
25+ |> List.map ( fun ident -> ident.idText )
2626
2727let synLongIdentToPath ( skipLast : bool ) ( synLongIdent : SynLongIdent ) =
2828 longIdentToPath skipLast synLongIdent.LongIdent
You can’t perform that action at this time.
0 commit comments