Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dobiasd/FunctionalPlus
/ problem_01
Function
problem_01
examples/99_problems.cpp:26–29 ·
view source on GitHub ↗
P01 (*) Find the last box of a list.
Source
from the content-addressed store, hash-verified
24
25
// P01 (*) Find the last box of a list.
26
void problem_01()
27
{
28
print_result(last(xs));
29
}
30
31
// P02 (*) Find the last but one box of a list.
32
void problem_02()
Callers
1
main
Function · 0.85
Calls
2
print_result
Function · 0.85
last
Function · 0.50
Tested by
no test coverage detected