Skip to main content

Timeline for Un-pipe an Elixir expression

Current License: CC BY-SA 4.0

43 events
when toggle format what by license comment
Apr 3, 2021 at 23:52 answer added Conor O'Brien timeline score: 1
Apr 1, 2021 at 18:00 history tweeted twitter.com/StackCodeGolf/status/1377682198497742848
Apr 1, 2021 at 0:13 answer added kur0dama timeline score: 2
Mar 31, 2021 at 20:18 answer added mazzy timeline score: 2
Mar 31, 2021 at 17:48 answer added Roman Odaisky timeline score: 3
Mar 31, 2021 at 10:28 answer added Galen Ivanov timeline score: 2
Mar 31, 2021 at 8:30 answer added xnor timeline score: 4
Mar 31, 2021 at 5:18 answer added att timeline score: 3
Mar 31, 2021 at 3:52 answer added att timeline score: 1
Mar 31, 2021 at 2:10 answer added tsh timeline score: 2
Mar 30, 2021 at 22:37 history became hot network question
Mar 30, 2021 at 21:09 comment added 79037662 @hakr14 That is not allowed.
Mar 30, 2021 at 21:06 comment added hakr14 May we take input as a list of strings (i.e. ["otherfunction()", "newfunction()", "baz()", "bar()", "foo()"])?
Mar 30, 2021 at 20:43 answer added hakr14 timeline score: 1
Mar 30, 2021 at 20:05 answer added Neil timeline score: 4
Mar 30, 2021 at 19:45 answer added Neil timeline score: 5
Mar 30, 2021 at 19:24 comment added 79037662 @JonathanAllan That is correct. To keep this challenge simple I declared all functions to only take one parameter. Maybe in the future I'll make a part 2 of this to allow for multi-parameter functions.
Mar 30, 2021 at 19:22 comment added Jonathan Allan Ah thanks (FWIW according to the Elixir answer the output would be foo(bar(3, baz(new_function(other_function())))))
Mar 30, 2021 at 19:21 comment added 79037662 @JonathanAllan No, bar(baz(new_function(other_function()))) is not a function (for the purpose of this challenge).
Mar 30, 2021 at 19:13 answer added Jonathan Allan timeline score: 3
Mar 30, 2021 at 19:05 comment added Jonathan Allan Is 3 |> bar(baz(new_function(other_function()))) |> foo() a possible input, and, if so, is the output foo(bar(baz(new_function(other_function(3)))))?
Mar 30, 2021 at 18:10 answer added qwatry timeline score: 1
Mar 30, 2021 at 17:10 answer added Dominic van Essen timeline score: 5
Mar 30, 2021 at 16:48 answer added Kirill L. timeline score: 5
Mar 30, 2021 at 16:47 answer added avarice timeline score: 2
Mar 30, 2021 at 16:33 answer added AZTECCO timeline score: 1
Mar 30, 2021 at 16:28 answer added Axuary timeline score: 8
Mar 30, 2021 at 16:15 history edited 79037662 CC BY-SA 4.0
added 84 characters in body
Mar 30, 2021 at 16:07 answer added FrownyFrog timeline score: 12
Mar 30, 2021 at 16:03 answer added Makonede timeline score: 2
Mar 30, 2021 at 15:58 answer added pxeger timeline score: 3
Mar 30, 2021 at 15:51 history edited 79037662 CC BY-SA 4.0
added 54 characters in body
Mar 30, 2021 at 15:51 comment added 79037662 @pxeger I'll say yes, since the expression is ultimately equivalent. I'll update the post.
Mar 30, 2021 at 15:44 comment added pxeger Is excess whitespace around the parentheses ok?
Mar 30, 2021 at 15:35 history edited 79037662 CC BY-SA 4.0
deleted 1 character in body
Mar 30, 2021 at 15:09 answer added user81655 timeline score: 4
Mar 30, 2021 at 15:06 answer added Unmitigated timeline score: 2
Mar 30, 2021 at 14:51 answer added Razetime timeline score: 9
Mar 30, 2021 at 14:50 answer added Giuseppe timeline score: 7
Mar 30, 2021 at 14:42 comment added 79037662 @ChartZBelatedly Yes. As the rules say, function names (i.e. all expressions after the first pipe) will only include ASCII letters and underscores, and end in ().
Mar 30, 2021 at 14:42 answer added caird coinheringaahing timeline score: 7
Mar 30, 2021 at 14:40 comment added caird coinheringaahing Can we assume that numbers will only appear at the start, before the first pipe?
Mar 30, 2021 at 14:36 history asked 79037662 CC BY-SA 4.0