Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8158213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:32:11+00:00 2026-06-06T17:32:11+00:00

In the Wiki page for Sudoku solutions , one solution claims to use the

  • 0

In the Wiki page for Sudoku solutions, one solution claims to use the “Dot Hack”. The linked Github page is no more available and I couldn’t find anything about it elewhere.

What is this about? What does it do? How?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T17:32:13+00:00Added an answer on June 6, 2026 at 5:32 pm

    I guess he’s referring to the following line:

    import Prelude hiding ((.))
    

    which disables the normal (.) operator for functional composition. Instead, another operator with the same name is used, probably imported from the utility module T.T. This operator behaves like in OOP languages:

    pretty_output solution = solution.elems.map(show).in_group_of(9)
        .map(unwords).unlines
    

    which (I think) would normally look like

    pretty_output solution = (unlines . map unwords . in_group_of 9 . map show . elems) solution
    

    That operator works the same like the |> operator in F#:

    (|>) :: a -> (a -> b) -> b
    x |> f = f x
    

    which is used to pipe a value through functions (and is more readable and better functional style, imo):

    pretty_output solution = solution |> elems |> map show |> in_group_of 9 |> map unwords |> unlines
    

    (|>) is also the same as flip ($).

    Edit: This “hacked” operator already exists in Haskell, somehow. The same composition behavior can be achieved by the left-to-right composition operator from Control.Category:

    g x = x |> (f1 >>> f2 >>> f3)
    

    This pipes only functions, though, and is actually just f >>> g = g . f.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw in the wiki page http://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines that python use non-recursive implementation as grep
On the OpenGL FBO wiki page there is this snippet: You can also use
I'm trying to use internal references to link an index atop my wiki page
This wiki page on the OpenGL website claims that OpenGL 1.1 functions should NOT
Why ScrewTurn Wiki does use ashx type to create wiki page? Isn't it dangerous
Based on sbt 0.11.0 documentation available ( Common Tasks wiki page and others) and
I am trying to add a wiki page on GitHub that contains sample HTML
I know there is a wiki page about it , but since I'm very
I want to add a screencast to a fogbugz wiki page. Is it possible,
I created a new content type for a wiki page library. I added this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.