<commit_before>module Matterhorn.State.ChannelTopicWindow
  ( openChannelTopicWindow
  )
where

import           Prelude ()
import           Matterhorn.Prelude

import           Lens.Micro.Platform ( (.=) )

import           Matterhorn.Types
import           Matterhorn.State.Channels ( getCurrentChannelTopic )


openChannelTopicWindow :: MH ()
openChannelTopicWindow = do
    t <- getCurrentChannelTopic
    csChannelTopicDialog .= newChannelTopicDialog t
    setMode ChannelTopicWindow
<commit_msg>Resolve unused import warning<commit_after>module Matterhorn.State.ChannelTopicWindow
  ( openChannelTopicWindow
  )
where

import           Lens.Micro.Platform ( (.=) )

import           Matterhorn.Types
import           Matterhorn.State.Channels ( getCurrentChannelTopic )


openChannelTopicWindow :: MH ()
openChannelTopicWindow = do
    t <- getCurrentChannelTopic
    csChannelTopicDialog .= newChannelTopicDialog t
    setMode ChannelTopicWindow

{'fraction_non_alphanumeric': 0.06400839454354669, 'fraction_numerical': 0.0, 'mean_word_length': 3.356164383561644, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2755059', 'n_tokens_mistral': 262, 'n_tokens_neox': 250, 'n_words': 51}