DEV Community

Discussion on: Daily Challenge #305 - Remove Anchors from URLs

Collapse
 
cipharius profile image
Valts Liepiņš

Haskell:

remove_url_anchor :: String -> String
remove_url_anchor = takeWhile (/= '#')
Enter fullscreen mode Exit fullscreen mode
Collapse
 
alfredosalzillo profile image
Alfredo Salzillo

So much beautiful to read.