Snippets created by Taha Hachana

  • Regex Match Index

    A function for interpreting the zero-based index property of a successful regular expression match in terms of line and column numbers.

    22 people like this

    Posted: 8 years ago by Taha Hachana

  • URL Canonicalization

    This function produces safe URLs for Web requests or URI construction. It forces the pattern: http:// + www. OR subdomain. + domain + absolute path. When used in an application that takes URLs as input, the user would be able to type "" instead of "" or "". It also supports domains like or

    8 people like this

    Posted: 8 years ago by Taha Hachana

  • Web Crawler

    This snippet features an F# Web crawler that i'm already using in 2 applications (slightly modified). It's based on a scalable network of communicating agents that follow URLs extracted from HTML pages until reaching the specified limit.

    23 people like this

    Posted: 7 years ago by Taha Hachana

  • Quartz Job Scheduling

    A simple example showing how to use Quartz.NET, an open source job scheduling system, with FSharp.

    7 people like this

    Posted: 6 years ago by Taha Hachana

  • numl Machine Learning

    This is the getting started sample for the numl machine learning library available at written in F#.

    4 people like this

    Posted: 5 years ago by Taha Hachana

  • Sequence Random Permutation

    A generic function that randomly permutes the elements of a sequence.

    0 people like this

    Posted: 1 year ago by Taha Hachana