Skip to content

Commit 8b5aff2

Browse files
committed
Initial taskSeq implementation with some modifications of the original source
1 parent bada242 commit 8b5aff2

File tree

7 files changed

+1159
-0
lines changed

7 files changed

+1159
-0
lines changed

src/.editorconfig

Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,265 @@
1+
root = true
2+
3+
###############################
4+
# Core EditorConfig Options #
5+
###############################
6+
# All files
7+
# [*] # Do not apply to all files not to break something
8+
# Either crlf | lf, default is system-dependent (when not specified at all)
9+
# end_of_line=crlf
10+
# Remove whitespace at the end of any line
11+
12+
# Code files
13+
[*.{cs,csx,fs,fsi,fsx}]
14+
trim_trailing_whitespace = true
15+
insert_final_newline = true
16+
indent_style = space # default=space
17+
indent_size = 4 # default=4
18+
charset = utf-8
19+
20+
# Project files and app specific XML files
21+
[*.{csproj,fsproj,shproj,projitems,props,targets,xaml}]
22+
trim_trailing_whitespace = true
23+
insert_final_newline = true
24+
indent_style = space
25+
indent_size = 2
26+
charset = utf-8
27+
28+
# XML configuration files
29+
[{nuget.config,packages.config,app*.config,web*.config}]
30+
trim_trailing_whitespace = true
31+
insert_final_newline = true
32+
indent_style = space
33+
indent_size = 2
34+
charset = utf-8
35+
36+
# XML files
37+
[*.xml]
38+
trim_trailing_whitespace = false # do not trim as it affects CData
39+
insert_final_newline = true
40+
indent_style = space
41+
indent_size = 2
42+
43+
# JSON and YAML files
44+
[*.{json,yml,yaml}]
45+
trim_trailing_whitespace = true
46+
insert_final_newline = true
47+
indent_style = space
48+
indent_size = 2
49+
50+
# Proto files
51+
[*.proto]
52+
trim_trailing_whitespace = true
53+
insert_final_newline = true
54+
indent_style = space
55+
indent_size = 4
56+
57+
###############################
58+
# F# Coding Conventions #
59+
###############################
60+
# filetypes that need to be formatted by Fantomas:
61+
[*.{fs,fsx}]
62+
63+
# files to be ignored for Fantomas may go into this file, if present:
64+
# .fantomasignore
65+
66+
# indentation size, default=4
67+
indent_size=4
68+
69+
# line length before it gets broken down into multiple lines
70+
# default 120
71+
max_line_length=120
72+
73+
# Either crlf | lf, default is system-dependent (when not specified at all)
74+
# end_of_line=crlf
75+
76+
# Whether end-of-file has a newline, default=true
77+
insert_final_newline=true
78+
79+
# false: someLineOfCode
80+
# true: someLineOfCode;
81+
# default false
82+
fsharp_semicolon_at_end_of_line=false
83+
84+
# false: f(1,2)
85+
# true: f(1, 2)
86+
# default true
87+
fsharp_space_before_parameter=true
88+
89+
# false: Option.map(fun x -> x)
90+
# true: Option.map (fun x -> x)
91+
# default true
92+
fsharp_space_before_lowercase_invocation=true
93+
94+
# false: x.ToString()
95+
# true: x.ToString ()
96+
# default false
97+
fsharp_space_before_uppercase_invocation=false
98+
99+
# false: new Ship(withBeans)
100+
# true: new Ship (withBeans)
101+
# default false
102+
fsharp_space_before_class_constructor=false
103+
104+
# false: __.member Foo(x) = x
105+
# true: __.member Foo (x) = x
106+
# default false
107+
fsharp_space_before_member=false
108+
109+
# false: type Point = { x: int; y: int }
110+
# true: type Point = { x : int; y : int }
111+
# default false
112+
fsharp_space_before_colon=false
113+
114+
# false: (a,b,c)
115+
# true: (a, b, c)
116+
# default true
117+
fsharp_space_after_comma=true
118+
119+
# false: [a; b; 42]
120+
# true: [a ; b ; 42]
121+
# default false
122+
fsharp_space_before_semicolon=false
123+
124+
# false: [a;b;42]
125+
# true: [a; b; 42]
126+
# default true
127+
fsharp_space_after_semicolon=true
128+
129+
# false: no indent after `with` in a `try-with`
130+
# true: must indent after `with` in a `try-with`
131+
# default false
132+
fsharp_indent_on_try_with=false
133+
134+
# false: let a = [1;2;3]
135+
# true: let a = [ 1;2;3 ]
136+
# default true
137+
fsharp_space_around_delimiter=true
138+
139+
# breaks an if-then-else in smaller parts if it is on one line
140+
# default 40
141+
fsharp_max_if_then_else_short_width=60
142+
143+
# breaks an infix operator expression if it is on one line
144+
# infix: a + b + c
145+
# default 50
146+
fsharp_max_infix_operator_expression=60
147+
148+
# breaks a single-line record declaration
149+
# i.e. if this gets too wide: { X = 10; Y = 12 }
150+
# default 40
151+
fsharp_max_record_width=80
152+
153+
# breaks a record into one item per line if items exceed this number
154+
# i.e. if set to 1, this will be on three lines: { X = 10; Y = 12 }
155+
# requires fsharp_record_multiline_formatter=number_of_items to take effect
156+
# default 1
157+
fsharp_max_record_number_of_items=1
158+
159+
# whether to use line-length (by counting chars) or items (by counting fields)
160+
# for the record settings above
161+
# either number_of_items or character_width
162+
# default character_width
163+
fsharp_record_multiline_formatter=character_width
164+
165+
# breaks a single line array or list if it exceeds this size
166+
# default 40
167+
fsharp_max_array_or_list_width=100
168+
169+
# breaks an array or list into one item per line if items exceeds this number
170+
# i.e. if set to 1, this will be shown on three lines [1; 2; 3]
171+
# requires fsharp_array_or_list_multiline_formatter=number_of_items to take effect
172+
# default 1
173+
fsharp_max_array_or_list_number_of_items=1
174+
175+
# whether to use line-length (by counting chars) or items (by counting fields)
176+
# for the list and array settings above
177+
# either number_of_items or character_width
178+
# default character_width
179+
fsharp_array_or_list_multiline_formatter=character_width
180+
181+
# maximum with of a value binding, does not include keyword "let"
182+
# default 80
183+
fsharp_max_value_binding_width=100
184+
185+
# maximum width for function and member binding (rh-side)
186+
# default 40
187+
fsharp_max_function_binding_width=80
188+
189+
# maximum width for expressions like X.DoY().GetZ(10).Help()
190+
# default 50
191+
fsharp_max_dot_get_expression_width=80
192+
193+
# whether open/close brackets go on same colum
194+
# false: type Range =
195+
# { From: float
196+
# To: float }
197+
# true: type Range =
198+
# {
199+
# From: float
200+
# To: float
201+
# }
202+
# default false
203+
fsharp_multiline_block_brackets_on_same_column=true
204+
205+
# whether a newline should be placed before members
206+
# false: type Range =
207+
# { From: float }
208+
# member this.Length = this.To - this.From
209+
# false: type Range =
210+
# { From: float }
211+
#
212+
# member this.Length = this.To - this.From
213+
# default false
214+
fsharp_newline_between_type_definition_and_members=true
215+
216+
# deprecated setting, has no effect anymore
217+
# default false
218+
fsharp_keep_if_then_in_same_line=true
219+
220+
# configures max width of Elmish expressions
221+
# default 40
222+
fsharp_max_elmish_width=40
223+
224+
# Applies to Elmish expressions
225+
# default false
226+
fsharp_single_argument_web_mode=false
227+
228+
# if a function sign exceeds max_line_length, then:
229+
# false: do not place the equal-sign on a single line
230+
# true: place the equal-sign on a single line
231+
# default false
232+
fsharp_align_function_signature_to_indentation=false
233+
234+
# see docs: https://github.com/fsprojects/fantomas/blob/master/docs/Documentation.md#fsharp_alternative_long_member_definitions
235+
# default false
236+
fsharp_alternative_long_member_definitions=false
237+
238+
# places closing paren in lambda on a newline in multiline lambdas
239+
# default false
240+
fsharp_multi_line_lambda_closing_newline=false
241+
242+
# disables Elmish syntax parsing
243+
fsharp_disable_elmish_syntax=false
244+
245+
# allows the 'else'-branch to be aligned at same level as 'else' if the ret type allows it
246+
# default false
247+
fsharp_keep_indent_in_branch=false
248+
249+
# multiline, nested expressions must be surrounded by blank lines
250+
# default true
251+
fsharp_blank_lines_around_nested_multiline_expressions=true
252+
253+
# whether a bar is placed before DU
254+
# false: type MyDU = Short of int
255+
# true: type MyDU = | Short of int
256+
# default false
257+
fsharp_bar_before_discriminated_union_declaration=false
258+
259+
# whether to use stroustrup style for records, lists and CEs
260+
# To work reliably, fsharp_multiline_block_brackets_on_same_column must be "true"
261+
fsharp_experimental_stroustrup_style=true
262+
263+
# from docs: Please do not use this setting for formatting hand written code!
264+
# default false
265+
fsharp_strict_mode=false

src/FSharpy.TaskSeq.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.3.32811.315
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharpy.TaskSeq", "FSharpy.TaskSeq\FSharpy.TaskSeq.fsproj", "{9A723760-A7AB-4C8D-9A6E-F0A38341827C}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{9A723760-A7AB-4C8D-9A6E-F0A38341827C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{9A723760-A7AB-4C8D-9A6E-F0A38341827C}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{9A723760-A7AB-4C8D-9A6E-F0A38341827C}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{9A723760-A7AB-4C8D-9A6E-F0A38341827C}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {2AE57787-A847-4460-A627-1EB1D224FBC3}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<Compile Include="TaskSeqBuilder.fs" />
10+
</ItemGroup>
11+
12+
</Project>

0 commit comments

Comments
 (0)